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
libksieve
Commits
6d5b098e
Commit
6d5b098e
authored
Dec 26, 2020
by
Laurent Montel
😁
Browse files
We depends against kf5.77
parent
b61eb39c
Pipeline
#45363
passed with stage
in 22 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ksieveui/editor/sieveeditorwidget.cpp
View file @
6d5b098e
...
...
@@ -9,7 +9,6 @@
#include "sievepurposemenuwidget.h"
#include "sieve-editor.h"
#include <kwidgetsaddons_version.h>
#include "sieveeditortextmodewidget.h"
#include "scriptsparsing/parsingutil.h"
#include "autocreatescripts/sieveeditorgraphicalmodewidget.h"
...
...
@@ -82,11 +81,7 @@ SieveEditorWidget::SieveEditorWidget(bool useMenuBar, QWidget *parent)
auto
purposeMenu
=
new
SievePurposeMenuWidget
(
this
,
this
);
KActionMenu
*
shareAction
=
new
KActionMenu
(
i18n
(
"Share..."
),
this
);
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 77, 0)
shareAction
->
setPopupMode
(
QToolButton
::
InstantPopup
);
#else
shareAction
->
setDelayed
(
false
);
#endif
shareAction
->
setMenu
(
purposeMenu
->
menu
());
shareAction
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-share"
)));
purposeMenu
->
setEditorWidget
(
this
);
...
...
Write
Preview
Markdown
is supported
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