summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-03-25 20:18:19 +0200
committerSlávek Banko <[email protected]>2021-03-25 20:50:13 +0100
commitf15e8d5f88b9e12a41e6770fe178ba8f6a77debb (patch)
treeb1eee79fbe0ad4c02a9f2db56f1bf84e0a0d5884
parentb4f51b16c2d17008bf5bd8a87f8cd8727cde2499 (diff)
downloadklamav-f15e8d5f88b9e12a41e6770fe178ba8f6a77debb.tar.gz
klamav-f15e8d5f88b9e12a41e6770fe178ba8f6a77debb.zip
Removed problematic and redundant .ascii() conversion.
This solves issue #26. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit feeae7b801d0518d783bc338c1615cdc9f6b27d3)
-rw-r--r--src/klamav.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index a79a58d..6a96fbc 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -240,7 +240,7 @@ void Klamav::updateTabState( int tabId, bool init ) {
}
if( config->readBoolEntry(optionName, true) ) {
- tab->insertTab(tabWidget, tabName.ascii());
+ tab->insertTab(tabWidget, tabName);
tabWidget->show();
if(!init) tab->setCurrentPage( tab->indexOf(tabWidget) );