Commit fdcb158c authored by Laurent Montel's avatar Laurent Montel
Browse files

Remove unused action

parent 20b8c182
......@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE gui>
<gui version="541" name="kmmainwin" translationDomain="kmail">
<gui version="543" name="kmmainwin" translationDomain="kmail">
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;File</text>
......@@ -29,8 +29,6 @@
<Separator/>
<Action name="akonadi_work_offline" />
<Separator/>
<Action name="low_bandwidth"/>
<Separator/>
<Action name="check_mail" />
<Action name="check_mail_in" />
<Action name="send_queued" />
......@@ -287,6 +285,7 @@
<Action name="folder_shortcut_command"/>
<ActionList name="akonadi_collection_collectionproperties_actionlist"/>
<ActionList name="resource_settings" />
<ActionList name="resource_restart" />
<Separator/>
<ActionList name="collectionview_actionlist" />
</Menu>
......
......@@ -3570,10 +3570,6 @@ void KMMainWidget::setupActions()
actionCollection()->addAction(QStringLiteral("archive_mails"), mArchiveAction);
connect(mArchiveAction, &QAction::triggered, this, &KMMainWidget::slotArchiveMails);
mUseLessBandwidth = new KToggleAction(i18n("Use Less Bandwidth"), this);
actionCollection()->addAction(QStringLiteral("low_bandwidth"), mUseLessBandwidth);
connect(mUseLessBandwidth, &KToggleAction::triggered, this, &KMMainWidget::slotBandwidth);
mMarkAllMessageAsReadAndInAllSubFolder = new QAction(i18n("Mark All Messages As Read in This Folder and All its Subfolder"), this);
mMarkAllMessageAsReadAndInAllSubFolder->setIcon(QIcon::fromTheme(QStringLiteral("mail-mark-read")));
actionCollection()->addAction(QStringLiteral("markallmessagereadcurentfolderandsubfolder"), mMarkAllMessageAsReadAndInAllSubFolder);
......
......@@ -642,7 +642,6 @@ private:
KMLaunchExternalComponent *mLaunchExternalComponent = nullptr;
ManageShowCollectionProperties *mManageShowCollectionProperties = nullptr;
QAction *mShowIntroductionAction = nullptr;
KToggleAction *mUseLessBandwidth = nullptr;
QAction *mMarkAllMessageAsReadAndInAllSubFolder = nullptr;
KActionMenuAccount *mAccountActionMenu = nullptr;
QAction *mRemoveDuplicateRecursiveAction = nullptr;
......
......@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE gui>
<gui version="542" name="kmmainwin" translationDomain="kmail">
<gui version="543" name="kmmainwin" translationDomain="kmail">
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;File</text>
......@@ -29,8 +29,6 @@
<Separator/>
<Action name="akonadi_work_offline" />
<Separator/>
<Action name="low_bandwidth"/>
<Separator/>
<Action name="check_mail" />
<Action name="check_mail_in" />
<Action name="send_queued" />
......
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