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
KDE PIM Add-ons
Commits
ef7dbe84
Commit
ef7dbe84
authored
Dec 26, 2020
by
Laurent Montel
😁
Browse files
We depends against kf5.77
parent
e011ca66
Pipeline
#45361
passed with stage
in 60 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/editorplugins/sharetext/sharetextplugineditorinterface.cpp
View file @
ef7dbe84
...
...
@@ -6,7 +6,6 @@
#include "sharetextplugineditorinterface.h"
#include "sharetexteditorplugin_debug.h"
#include <kwidgetsaddons_version.h>
#include "sharetextpurposemenuwidget.h"
#include <KPIMTextEdit/EditorUtil>
#include <KPIMTextEdit/RichTextEditor>
...
...
@@ -32,11 +31,7 @@ void ShareTextPluginEditorInterface::createAction(KActionCollection *ac)
KActionMenu
*
shareAction
=
new
KActionMenu
(
i18n
(
"Share Mail Text..."
),
this
);
shareAction
->
setMenu
(
purposeMenu
->
menu
());
shareAction
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-share"
)));
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 77, 0)
shareAction
->
setPopupMode
(
QToolButton
::
InstantPopup
);
#else
shareAction
->
setDelayed
(
false
);
#endif
ac
->
addAction
(
QStringLiteral
(
"share_text_menu"
),
shareAction
);
purposeMenu
->
setEditorWidget
(
this
);
MessageComposer
::
PluginActionType
type
(
shareAction
,
MessageComposer
::
PluginActionType
::
File
);
...
...
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