diff -r 4167eb56f30d -r 12b82dc0e8db filemanager/src/filemanager/src/operationservice/fmoperationremove.cpp --- a/filemanager/src/filemanager/src/operationservice/fmoperationremove.cpp Thu Sep 02 17:00:51 2010 +0800 +++ b/filemanager/src/filemanager/src/operationservice/fmoperationremove.cpp Thu Sep 30 16:33:59 2010 +0800 @@ -95,16 +95,16 @@ foreach( const QString& srcPath, mPathList ) { int ret = remove( srcPath ); if( ret != FmErrNone ) { - emit notifyError( ret, mErrString ); // refresh drive space no care if cancel, error or finished. // as filemanger cannot notify drive space changed // do not refresh path as QFileSystemModel will do auto-refresh emit driveSpaceChanged(); + emit notifyError( ret, mErrString ); return; } - } + } + emit driveSpaceChanged(); emit notifyFinish(); - emit driveSpaceChanged(); } /*