diff options
| author | Artur Puzio <[email protected]> | 2016-03-16 22:17:37 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2016-03-16 22:17:37 +0100 |
| commit | 5593c252e8d9638c86dcc2bb9edd394ea14f8ba1 (patch) | |
| tree | 486e7f04fa43758ab3011d75227e2d9791db4014 /src/views/renamedialog.cpp | |
| parent | 59811f849ed47982f5cf73e052640bc9f250ad97 (diff) | |
[CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
Diffstat (limited to 'src/views/renamedialog.cpp')
| -rw-r--r-- | src/views/renamedialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp index 60b7b16c1..a514ede1e 100644 --- a/src/views/renamedialog.cpp +++ b/src/views/renamedialog.cpp @@ -60,11 +60,11 @@ RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) : m_okButton = buttonBox->button(QDialogButtonBox::Ok); m_okButton->setDefault(true); m_okButton->setShortcut(Qt::CTRL | Qt::Key_Return); - connect(buttonBox, SIGNAL(accepted()), this, SLOT(slotAccepted())); - connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); + connect(buttonBox, &QDialogButtonBox::accepted, this, &RenameDialog::slotAccepted); + connect(buttonBox, &QDialogButtonBox::rejected, this, &RenameDialog::reject); m_okButton->setDefault(true); - KGuiItem::assign(m_okButton, KGuiItem(i18nc("@action:button", "&Rename"), "dialog-ok-apply")); + KGuiItem::assign(m_okButton, KGuiItem(i18nc("@action:button", "&Rename"), QStringLiteral("dialog-ok-apply"))); QWidget* page = new QWidget(this); mainLayout->addWidget(page); |
