--- a/filemanager/src/filemanager/src/operationservice/fmoperationremove.cpp Tue Aug 24 10:24:14 2010 +0800
+++ b/filemanager/src/filemanager/src/operationservice/fmoperationremove.cpp Wed Sep 29 10:37:03 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();
}
/*