mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Try starting the new gnome-control-center keyboard command as well as gnome-keybinding-properties. Fixes issue 2283.
This commit is contained in:
parent
2bffe1fa82
commit
6d435f9276
@ -166,8 +166,11 @@ void GlobalShortcutsSettingsPage::ChangeClicked() {
|
|||||||
|
|
||||||
void GlobalShortcutsSettingsPage::OpenGnomeKeybindingProperties() {
|
void GlobalShortcutsSettingsPage::OpenGnomeKeybindingProperties() {
|
||||||
if (!QProcess::startDetached("gnome-keybinding-properties")) {
|
if (!QProcess::startDetached("gnome-keybinding-properties")) {
|
||||||
|
if (!QProcess::startDetached("gnome-control-center",
|
||||||
|
QStringList() << "keyboard")) {
|
||||||
QMessageBox::warning(this, "Error",
|
QMessageBox::warning(this, "Error",
|
||||||
tr("The \"%1\" command could not be started.")
|
tr("The \"%1\" command could not be started.")
|
||||||
.arg("gnome-keybinding-properties"));
|
.arg("gnome-keybinding-properties"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user