From c06676f232466dcc7917299b75f5296ff830b01c Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 25 Jan 2021 15:34:56 +0200 Subject: Fixed some TQString->const char * casts. Signed-off-by: Mavridis Philippe --- src/klamav.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/klamav.cpp') 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); } } -- cgit v1.2.1