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
acc463ba
Commit
acc463ba
authored
Dec 19, 2020
by
Laurent Montel
😁
Browse files
Port deprecated method
parent
8145dd97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwidget.cpp
View file @
acc463ba
...
...
@@ -3070,7 +3070,7 @@ void KMMainWidget::setupActions()
mTemplateMenu
=
new
KActionMenu
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-new"
)),
i18n
(
"Message From &Template"
),
actionCollection
());
mTemplateMenu
->
setDelayed
(
true
);
mTemplateMenu
->
set
PopupMode
(
QToolButton
::
Delayed
Popup
);
actionCollection
()
->
addAction
(
QStringLiteral
(
"new_from_template"
),
mTemplateMenu
);
connect
(
mTemplateMenu
->
menu
(),
&
QMenu
::
aboutToShow
,
this
,
&
KMMainWidget
::
slotShowNewFromTemplate
);
...
...
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