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/klamscan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/klamscan.cpp') diff --git a/src/klamscan.cpp b/src/klamscan.cpp index 0015088..784398f 100644 --- a/src/klamscan.cpp +++ b/src/klamscan.cpp @@ -486,7 +486,7 @@ TQStringList Klamscan::pruneSelectedDirs(){ (*it) = (*it).stripWhiteSpace(); // replace block devices with mountpoints - lstat( (*it), &sb ); + lstat( (*it).ascii(), &sb ); if ( (sb.st_mode & S_IFMT) == S_IFBLK ) { // This is actually from directorylist.cpp DCOPRef mediamanager("kded", "mediamanager"); -- cgit v1.2.1