diff options
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r-- | src/scanviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp index bf00eca..3766a0d 100644 --- a/src/scanviewer.cpp +++ b/src/scanviewer.cpp @@ -187,7 +187,7 @@ void ScanViewer::processOutput() int fnameStartPoint = 0; int fnameEndPoint = item2.findRev(":"); TQString tmpFName = item2.mid(fnameStartPoint,(fnameEndPoint - fnameStartPoint)); - tmpFName = i18n(tmpFName); + tmpFName = i18n(tmpFName.ascii()); if ((pos = (item2.find(" FOUND"))) != -1){ //if ((pos = buf.section('\n',j,j).find("FOUND")) != -1){ TQString tmpVirusName = item2.mid((fnameEndPoint+1),(item2.length() - (fnameEndPoint+1))); @@ -736,7 +736,7 @@ void ScanViewer::Quarantine(){ lastQuarItems.prepend(item2); (resultview->findItem(fname,0))->setText(2,"Quarantined"); (resultview->findItem(fname,0))->setPixmap( 0, SmallIcon("klamav") ); - chmod((const char *)qname,0400); + chmod(qname.ascii(),0400); CollectionDB::instance()->insertEvent("Quarantine",TQString("Quarantined"),fname); }else{ |