summaryrefslogtreecommitdiffstats
path: root/src/klamav.cpp
diff options
context:
space:
mode:
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);
}
}