Don't use boolean value here otherwise we don't use default value

wilder-work
Montel Laurent 11 years ago
parent ccc3e08c76
commit b0d7a464a4
  1. 4
      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);

Loading…
Cancel
Save