Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
fdcb158c
Commit
fdcb158c
authored
Dec 09, 2019
by
Laurent Montel
Browse files
Remove unused action
parent
20b8c182
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/kmail_part.rc
View file @
fdcb158c
...
...
@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE gui>
<gui version="54
1
" name="kmmainwin" translationDomain="kmail">
<gui version="54
3
" name="kmmainwin" translationDomain="kmail">
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&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>
...
...
src/kmmainwidget.cpp
View file @
fdcb158c
...
...
@@ -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
);
...
...
src/kmmainwidget.h
View file @
fdcb158c
...
...
@@ -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
;
...
...
src/kmmainwin.rc
View file @
fdcb158c
...
...
@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE gui>
<gui version="54
2
" name="kmmainwin" translationDomain="kmail">
<gui version="54
3
" name="kmmainwin" translationDomain="kmail">
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&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" />
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment