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
Akonadi Mime
Commits
557e9ec6
Commit
557e9ec6
authored
Apr 21, 2021
by
Laurent Montel
😁
Browse files
In kf6 kde4 migration code will be removed
parent
34dfe233
Pipeline
#58987
passed with stage
in 4 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/specialmailcollections.cpp
View file @
557e9ec6
...
...
@@ -15,7 +15,10 @@
#include <specialcollectionattribute.h>
#include <KLocalizedString>
#include <kcoreaddons_version.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
using
namespace
Akonadi
;
...
...
@@ -64,10 +67,11 @@ SpecialMailCollectionsPrivate::~SpecialMailCollectionsPrivate()
static
KCoreConfigSkeleton
*
getConfig
(
const
QString
&
filename
)
{
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"specialmailcollection"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
filename
);
migrate
.
migrate
();
#endif
Settings
::
instance
(
ServerManager
::
addNamespace
(
filename
));
return
Settings
::
self
();
}
...
...
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