call qdbus-qt5 instead of qdbus which may be qt4 or not exist (#1661418)
parent
893f627be3
commit
59a9b8116a
@ -0,0 +1,29 @@
|
||||
diff -up khotkeys-5.14.4/libkhotkeysprivate/actions/dbus_action.cpp.qdbus-qt5 khotkeys-5.14.4/libkhotkeysprivate/actions/dbus_action.cpp
|
||||
--- khotkeys-5.14.4/libkhotkeysprivate/actions/dbus_action.cpp.qdbus-qt5 2018-11-27 10:08:32.000000000 -0600
|
||||
+++ khotkeys-5.14.4/libkhotkeysprivate/actions/dbus_action.cpp 2018-12-24 11:52:28.162986974 -0600
|
||||
@@ -133,7 +133,7 @@ void DBusAction::execute()
|
||||
}
|
||||
qDebug() << "D-Bus call:" << _application << ":" << _object << ":" << _function << ":" << args_list;
|
||||
KProcess proc;
|
||||
- proc << "qdbus" << _application << _object << _function << args_list;
|
||||
+ proc << "qdbus-qt5" << _application << _object << _function << args_list;
|
||||
proc.startDetached();
|
||||
}
|
||||
|
||||
diff -up khotkeys-5.14.4/test/main.cpp.qdbus-qt5 khotkeys-5.14.4/test/main.cpp
|
||||
--- khotkeys-5.14.4/test/main.cpp.qdbus-qt5 2018-11-27 10:08:32.000000000 -0600
|
||||
+++ khotkeys-5.14.4/test/main.cpp 2018-12-24 11:53:21.975320157 -0600
|
||||
@@ -16,10 +16,10 @@ int main(int argc, char** argv)
|
||||
if (reply.value().contains("khotkeys")) {
|
||||
qDebug() << "The khotkeys module is already running.";
|
||||
qDebug() << "To unload it run:";
|
||||
- qDebug() << "qdbus org.kde.kded5 /kded org.kde.kded5.unloadModule khotkeys";
|
||||
+ qDebug() << "qdbus-qt5 org.kde.kded5 /kded org.kde.kded5.unloadModule khotkeys";
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
KHotKeysModule module(&app, QVariantList());
|
||||
return app.exec();
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
Loading…
Reference in new issue