Commit ec937ad4 authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Fix QProcess deprecation warning

parent 0b09fe1b
......@@ -29,7 +29,7 @@
int main(int argc, char *argv[]) \
{ \
QProcess dbus; \
dbus.start(QStringLiteral("dbus-launch")); \
dbus.start(QStringLiteral("dbus-launch"), QStringList()); \
dbus.waitForFinished(10000); \
QByteArray session = dbus.readLine(); \
if (session.isEmpty()) { \
......
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