1
0

replace qdbus-qt4 with qdbus-qt5

This commit is contained in:
MatMoul 2016-01-20 14:09:24 +01:00
parent 418cc3c351
commit 26cd567d57

View File

@ -139,15 +139,15 @@ QString CustomDesktopMenu::getDefaultMenu()
defMenuConfig += "{programs}\tSystem/\n";
defMenuConfig += "[end]\n";
defMenuConfig += "[menu]\tExit\tsystem-shutdown\n";
defMenuConfig += "Lock\tsystem-lock-screen\tqdbus-qt4 org.kde.ksmserver /ScreenSaver Lock\n";
defMenuConfig += "Disconnect\tsystem-log-out\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 0 3\n";
defMenuConfig += "Switch User\tsystem-switch-user\tqdbus-qt4 org.kde.krunner /App switchUser\n";
defMenuConfig += "Lock\tsystem-lock-screen\tqdbus-qt5 org.kde.ksmserver /ScreenSaver Lock\n";
defMenuConfig += "Disconnect\tsystem-log-out\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 0 3\n";
defMenuConfig += "Switch User\tsystem-switch-user\tqdbus-qt5 org.kde.krunner /App switchUser\n";
defMenuConfig += "-\n";
defMenuConfig += "Sleep\tsystem-suspend\tqdbus-qt4 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Suspend\n";
defMenuConfig += "Hibernate\tsystem-suspend-hibernate\tqdbus-qt4 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Hibernate\n";
defMenuConfig += "Sleep\tsystem-suspend\tqdbus-qt5 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Suspend\n";
defMenuConfig += "Hibernate\tsystem-suspend-hibernate\tqdbus-qt5 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Hibernate\n";
defMenuConfig += "-\n";
defMenuConfig += "Restart\tsystem-reboot\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 1 3\n";
defMenuConfig += "Shut down\tsystem-shutdown\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 2 3\n";
defMenuConfig += "Restart\tsystem-reboot\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 1 3\n";
defMenuConfig += "Shut down\tsystem-shutdown\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 2 3\n";
defMenuConfig += "[end]\n";
defMenuConfig += "-\n";
defMenuConfig += "/usr/share/applications/org.kde.ksysguard.desktop\n";