Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 131865fb authored by Laurent Montel's avatar Laurent Montel 😁

Rename method

parent 03f3d7ad
......@@ -1474,7 +1474,7 @@ void KMMainWidget::slotEmptyFolder()
if (isTrash) {
/* Don't ask for confirmation again when deleting, the user has already
confirmed. */
slotDeleteMsg(false);
deleteSelectedMessages(false);
} else {
slotTrashSelectedMessages();
}
......@@ -1710,7 +1710,7 @@ void KMMainWidget::slotMoveMessagesCompleted(KMMoveCommand *command)
void KMMainWidget::slotDeleteMessages()
{
slotDeleteMsg(true);
deleteSelectedMessages(true);
}
Akonadi::Item::List KMMainWidget::currentSelection() const
......@@ -1723,7 +1723,7 @@ Akonadi::Item::List KMMainWidget::currentSelection() const
return selectMsg;
}
void KMMainWidget::slotDeleteMsg(bool confirmDelete)
void KMMainWidget::deleteSelectedMessages(bool confirmDelete)
{
// Create a persistent message set from the current selection
MessageList::Core::MessageItemSetReference ref = mMessagePane->selectionAsPersistentSet();
......
......@@ -508,7 +508,7 @@ private Q_SLOTS:
void slotEditCurrentVacation();
void slotReplyMessageTo(const KMime::Message::Ptr &message, bool replyToAll);
private:
void slotDeleteMsg(bool confirmDelete); // completely delete message
void deleteSelectedMessages(bool confirmDelete); // completely delete message
bool showSearchDialog();
void clearCurrentFolder();
void setCurrentCollection(const Akonadi::Collection &col);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment