]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/renamedialog.cpp
* fixed drag & drop issue in column view (dropping on files was not possible -> handl...
[dolphin.git] / src / renamedialog.cpp
index 4ea15568c6b35399f09d1146b805c34d6f90181c..fc095c0f36a8a7fdc1a6f5067929899611c0f342 100644 (file)
@@ -26,7 +26,7 @@
 #include <QtGui/QLabel>
 #include <QtGui/QBoxLayout>
 
-RenameDialog::RenameDialog(const QList<KFileItem>& items) :
+RenameDialog::RenameDialog(const KFileItemList& items) :
     KDialog(),
     m_renameOneItem(false)
 {
@@ -116,7 +116,7 @@ void RenameDialog::slotButtonClicked(int button)
         if (m_newName.isEmpty()) {
             m_errorString = i18nc("@info:status",
                                   "The new name is empty. A name with at least one character must be entered.");
-        } else if (!m_renameOneItem && m_newName.count('#') != 1 ) {
+        } else if (!m_renameOneItem && m_newName.count('#') != 1) {
             m_newName.truncate(0);
             m_errorString = i18nc("@info:status", "The name must contain exactly one # character.");
         }