From b0d7a464a4ed7dca2530ffb98fc66aea9df2eacc Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Mon, 19 Oct 2015 13:42:23 +0200 Subject: [PATCH] Don't use boolean value here otherwise we don't use default value --- kmmainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index 79d77ecd6..0c7f46d83 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -2989,7 +2989,7 @@ void KMMainWidget::setupActions() mDeleteAction = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18nc("@action Hard delete, bypassing trash", "&Delete"), this); actionCollection()->addAction(QStringLiteral("delete"), mDeleteAction); //Don't convert to new connect api. - connect(mDeleteAction, SIGNAL(triggered(bool)), this, SLOT(slotDeleteMsg(bool))); + connect(mDeleteAction, SIGNAL(triggered(bool)), this, SLOT(slotDeleteMsg())); actionCollection()->setDefaultShortcut(mDeleteAction, QKeySequence(Qt::SHIFT + Qt::Key_Delete)); mTrashThreadAction = new QAction(i18n("M&ove Thread to Trash"), this); @@ -3002,7 +3002,7 @@ void KMMainWidget::setupActions() mDeleteThreadAction = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Delete T&hread"), this); actionCollection()->addAction(QStringLiteral("delete_thread"), mDeleteThreadAction); //Don't use new connect api. - connect(mDeleteThreadAction, SIGNAL(triggered(bool)), this, SLOT(slotDeleteThread(bool))); + connect(mDeleteThreadAction, SIGNAL(triggered(bool)), this, SLOT(slotDeleteThread())); actionCollection()->setDefaultShortcut(mDeleteThreadAction, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Delete)); mSearchMessages = new QAction(QIcon::fromTheme(QStringLiteral("edit-find-mail")), i18n("&Find Messages..."), this);