--- a/filemanager/src/filemanager/src/operationservice/fmoperationresultprocesser.cpp Fri Jun 11 13:29:48 2010 +0300
+++ b/filemanager/src/filemanager/src/operationservice/fmoperationresultprocesser.cpp Wed Jun 23 18:03:11 2010 +0300
@@ -49,6 +49,8 @@
bool ret = FmDlgUtils::showTextQuery( questionText, value, true, maxFileNameLength, QString(), false );
while ( ret ) {
bool checkResult = true;
+ // remove whitespace from the start and the end.
+ value = value.trimmed();
QString newTargetPath = FmUtils::fillPathWithSplash(
fileInfo.absolutePath() ) + value;
QFileInfo newFileInfo( newTargetPath );