Commit 3d8a8495 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QStringLiteral

parent 78a5ba6e
......@@ -126,8 +126,8 @@ static void destroyStaticTransportManager()
TransportManager::TransportManager()
: QObject(), d(new TransportManagerPrivate(this))
{
Kdelibs4ConfigMigrator migrate(QLatin1String("transportmanager"));
migrate.setConfigFiles(QStringList() << QLatin1String("mailtransports"));
Kdelibs4ConfigMigrator migrate(QStringLiteral("transportmanager"));
migrate.setConfigFiles(QStringList() << QStringLiteral("mailtransports"));
migrate.migrate();
qAddPostRoutine(destroyStaticTransportManager);
......@@ -137,7 +137,7 @@ TransportManager::TransportManager()
d->walletOpenFailed = false;
d->walletAsyncOpen = false;
d->defaultTransportId = -1;
d->config = new KConfig(QLatin1String("mailtransports"));
d->config = new KConfig(QStringLiteral("mailtransports"));
QDBusConnection::sessionBus().registerObject(DBUS_OBJECT_PATH, this,
QDBusConnection::ExportScriptableSlots |
......
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