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
KMailTransport
Commits
4be70465
Commit
4be70465
authored
Apr 21, 2021
by
Laurent Montel
😁
Browse files
Migration code will be removed in kf6
parent
6b3ba37b
Pipeline
#58986
passed with stage
in 6 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmailtransport/transportmanager.cpp
View file @
4be70465
...
...
@@ -31,7 +31,10 @@
#include <KEMailSettings>
#include <KLocalizedString>
#include <KMessageBox>
#include <kcoreaddons_version.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <qt5keychain/keychain.h>
using
namespace
QKeychain
;
#include <KWallet>
...
...
@@ -109,10 +112,11 @@ TransportManager::TransportManager()
:
QObject
()
,
d
(
new
TransportManagerPrivate
(
this
))
{
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"transportmanager"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"mailtransports"
));
migrate
.
migrate
();
#endif
qAddPostRoutine
(
destroyStaticTransportManager
);
d
->
config
=
new
KConfig
(
QStringLiteral
(
"mailtransports"
));
...
...
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