From 9f817dc884dfe7674f7775cb39dd646103e65686 Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 29 Nov 2012 07:41:59 +0000 Subject: [PATCH] "system( rm -rf )" removed; qtx emthod is used --- src/SUIT/SUIT_Session.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/SUIT/SUIT_Session.cxx b/src/SUIT/SUIT_Session.cxx index 215416c87..9cb7c1a02 100755 --- a/src/SUIT/SUIT_Session.cxx +++ b/src/SUIT/SUIT_Session.cxx @@ -799,13 +799,7 @@ void SUIT_Session::removeTmpFiles( const bool withBackup ) if ( !QFileInfo( blocName ).exists() || !locked ) { // unused non-removed folder -#ifdef WIN32 Qtx::rmDir( currF ); -#else - // use the system call Qtx::rmDir() may not work on Linux - QString cmd = QString( "rm -rf " ) + currF.toLatin1().constData(); - system( cmd.toLatin1().constData() ); -#endif } } } -- 2.39.2