s/QLatin1String/QStringLiteral/

This commit is contained in:
Kurt Hindenburg
2015-09-12 12:35:49 -04:00
parent d59ad5cd8a
commit 7b07dd78cd
7 changed files with 20 additions and 20 deletions

View File

@@ -97,7 +97,7 @@ ViewManager::ViewManager(QObject* parent , KActionCollection* collection)
//prepare DBus communication
new WindowAdaptor(this);
// TODO: remove this obsolete and bad name
QDBusConnection::sessionBus().registerObject(QLatin1String("/Konsole"), this);
QDBusConnection::sessionBus().registerObject(QStringLiteral("/Konsole"), this);
_managerId = ++lastManagerId;
QDBusConnection::sessionBus().registerObject(QLatin1String("/Windows/") + QString::number(_managerId), this);