]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/renamedialog.cpp
Fix the problem "the scrollbar remains if it was shown on the
[dolphin.git] / src / renamedialog.cpp
index def141e047a104bee6d8dc40ee78b761ff9d337c..681a5845a4d0c276b31b8a3a9397e0c31aa020e8 100644 (file)
@@ -56,7 +56,8 @@ RenameDialog::RenameDialog(const KUrl::List& items) :
                                page);
     } else {
         m_newName = i18n("New name #");
-        editLabel = new QLabel(i18n("Rename the %1 selected items to:", itemCount),
+        editLabel = new QLabel(i18np("Rename the %1 selected item to:",
+                                     "Rename the %1 selected items to:", itemCount),
                                page);
     }
 
@@ -120,7 +121,7 @@ void RenameDialog::slotButtonClicked(int button)
     KDialog::slotButtonClicked(button);
 }
 
-QString RenameDialog::extensionString(const QString& name) const
+QString RenameDialog::extensionString(const QString& name)
 {
     QString extension;
     bool foundExtension = false;  // true if at least one valid file extension