Use QStringLiteral

This commit is contained in:
lupoDharkael
2017-12-15 18:34:05 +01:00
parent a5df852268
commit 11b101570f
10 changed files with 31 additions and 29 deletions

View File

@@ -6,9 +6,9 @@
#include <QApplication>
SystemNotification::SystemNotification(QObject *parent) : QObject(parent) {
m_interface = new QDBusInterface("org.freedesktop.Notifications",
"/org/freedesktop/Notifications",
"org.freedesktop.Notifications",
m_interface = new QDBusInterface(QStringLiteral("org.freedesktop.Notifications"),
QStringLiteral("/org/freedesktop/Notifications"),
QStringLiteral("org.freedesktop.Notifications"),
QDBusConnection::sessionBus(),
this);
}