filemanager/src/inc/fmutils_win.cpp
changeset 18 edd66bde63a4
parent 16 ada7962b4308
child 24 1d0c87b42e2e
--- a/filemanager/src/inc/fmutils_win.cpp	Mon May 03 12:24:39 2010 +0300
+++ b/filemanager/src/inc/fmutils_win.cpp	Fri May 14 15:42:43 2010 +0300
@@ -147,7 +147,7 @@
 int FmUtils::renameDrive( const QString &driverName, const QString &newVolumeName)
 {
     Q_UNUSED( driverName );
-    foreach( QChar ch, newVolumeName )
+    foreach( const QChar &ch, newVolumeName )
     {
         // If not alphadigit or space, return error
         if( !ch.isLetterOrNumber() && !ch.isSpace() )