From: Shaun Reich Date: Thu, 19 Mar 2009 01:43:35 +0000 (+0000) Subject: Made the accelerator for "Rename" also removed the setMarginHint() or whatever, I... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d4f8439d91bdb9545a2f8dc451662e7df1152df1 Made the accelerator for "Rename" also removed the setMarginHint() or whatever, I'm quite certain this does absolutely nothing and is no longer needed, but please, correct me if I am wrong. svn path=/trunk/KDE/kdebase/apps/; revision=941186 --- diff --git a/src/renamedialog.cpp b/src/renamedialog.cpp index 02dd2e9f6..caa098a06 100644 --- a/src/renamedialog.cpp +++ b/src/renamedialog.cpp @@ -43,13 +43,12 @@ RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) : setButtons(Ok | Cancel); setDefaultButton(Ok); - setButtonGuiItem(Ok, KGuiItem(i18nc("@action:button", "Rename"), "dialog-ok-apply")); + setButtonGuiItem(Ok, KGuiItem(i18nc("@action:button", "&Rename"), "dialog-ok-apply")); QWidget* page = new QWidget(this); setMainWidget(page); QVBoxLayout* topLayout = new QVBoxLayout(page); - topLayout->setMargin(KDialog::marginHint()); QLabel* editLabel = 0; if (m_renameOneItem) {