Commit a90bc7b8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Migrate transportmanager too

parent 534f8df2
......@@ -48,6 +48,7 @@
#include <KLocalizedString>
#include <KMessageBox>
#include <KRandom>
#include <Kdelibs4ConfigMigrator>
#include <KWallet/Wallet>
......@@ -125,6 +126,10 @@ static void destroyStaticTransportManager()
TransportManager::TransportManager()
: QObject(), d(new TransportManagerPrivate(this))
{
Kdelibs4ConfigMigrator migrate(QLatin1String("transportmanager"));
migrate.setConfigFiles(QStringList() << QLatin1String("mailtransports"));
migrate.migrate();
qAddPostRoutine(destroyStaticTransportManager);
d->myOwnChange = false;
d->appliedChange = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment