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
6f3ff20f
Commit
6f3ff20f
authored
Apr 21, 2021
by
Laurent Montel
😁
Browse files
Migration code will be remove in new release
parent
fe83f2e7
Pipeline
#58983
passed with stage
in 7 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
notesagent/notesagent.cpp
View file @
6f3ff20f
...
...
@@ -13,7 +13,10 @@
#include <AkonadiCore/ServerManager>
#include <kcoreaddons_version.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KWindowSystem>
#include <QDBusConnection>
...
...
@@ -21,9 +24,11 @@
NotesAgent
::
NotesAgent
(
const
QString
&
id
)
:
Akonadi
::
AgentBase
(
id
)
{
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"notesagent"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"akonadi_notes_agentrc"
)
<<
QStringLiteral
(
"akonadi_notes_agent.notifyrc"
));
migrate
.
migrate
();
#endif
mNotesManager
=
new
NotesManager
(
this
);
new
NotesAgentAdaptor
(
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