X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/e4d60190fabfe986a1cec8bef09821c5ee77764d..b5eca6dc2aaa6f90d7dc2fe27ab9ccc45aee77f2:/src/renamedialog.cpp diff --git a/src/renamedialog.cpp b/src/renamedialog.cpp index 4ea15568c..fc095c0f3 100644 --- a/src/renamedialog.cpp +++ b/src/renamedialog.cpp @@ -26,7 +26,7 @@ #include #include -RenameDialog::RenameDialog(const QList& 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."); }