summaryrefslogtreecommitdiffstats
path: root/src/klamav.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-25 15:34:56 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-25 15:34:56 +0200
commitc06676f232466dcc7917299b75f5296ff830b01c (patch)
treeaacf02557175b245b1b68bbc8accda67cda586b3 /src/klamav.cpp
parent719d2f66dbdf7a70b084529acc888269a1743c1b (diff)
downloadklamav-c06676f232466dcc7917299b75f5296ff830b01c.tar.gz
klamav-c06676f232466dcc7917299b75f5296ff830b01c.zip
Fixed some TQString->const char * casts.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r--src/klamav.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index 7499a9b..df62cef 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -232,7 +232,7 @@ void Klamav::updateTabState( int tabId, bool init ) {
}
if( config->readBoolEntry(optionName, true) ) {
- tab->insertTab(tabWidget, i18n(tabName));
+ tab->insertTab(tabWidget, i18n( tabName.ascii() ));
tabWidget->show();
if(!init) tab->setCurrentPage( tab->indexOf(tabWidget) );
@@ -411,7 +411,7 @@ void Klamav::createDefaultKlamAVDir(TQString type){
if (!klamavqdir.exists() && !klamavqdir.mkdir(path))
ok = false;
else
- chmod((const char *)path,0700);
+ chmod(path.ascii(),0700);
}
}