mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +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() {
|
||||
if (!QProcess::startDetached("gnome-keybinding-properties")) {
|
||||
if (!QProcess::startDetached("gnome-control-center",
|
||||
QStringList() << "keyboard")) {
|
||||
QMessageBox::warning(this, "Error",
|
||||
tr("The \"%1\" command could not be started.")
|
||||
.arg("gnome-keybinding-properties"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user