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
KNotes
Commits
5a3e2a33
Verified
Commit
5a3e2a33
authored
Jun 15, 2021
by
Alexander Lohnau
💬
Browse files
Make it build with KCMUtils <= 5.83
parent
e876f8ca
Pipeline
#66019
passed with stage
in 8 minutes and 25 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/configdialog/knoteconfigdialog.cpp
View file @
5a3e2a33
...
...
@@ -7,6 +7,7 @@
*******************************************************************/
#include <config-knotes.h>
#include <kcmutils_version.h>
#include "config/noteactionconfig.h"
#include "config/notenetworkconfig.h"
...
...
@@ -39,7 +40,11 @@ KNoteConfigDialog::KNoteConfigDialog(const QString &title, QWidget *parent)
setWindowTitle
(
title
);
const
QVector
<
KPluginMetaData
>
availablePlugins
=
KPluginLoader
::
findPlugins
(
QStringLiteral
(
"pim/kcms/knotes"
));
for
(
const
KPluginMetaData
&
metaData
:
availablePlugins
)
{
#if KCMUTILS_VERSION >= QT_VERSION_CHECK(5, 84, 0)
addModule
(
metaData
);
#else
addModule
(
metaData
.
pluginId
());
#endif
}
connect
(
button
(
QDialogButtonBox
::
Ok
),
&
QPushButton
::
clicked
,
this
,
&
KNoteConfigDialog
::
slotOk
);
...
...
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