1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-20 21:00:46 +01:00

Fix deprecated use of QProcess::startDetached

This commit is contained in:
Jonas Kvinge 2020-06-05 22:15:58 +02:00
parent 756e619e07
commit 5c7a4cdc22

View File

@ -242,7 +242,7 @@ void GlobalShortcutsSettingsPage::GSDChanged(bool) {
}
void GlobalShortcutsSettingsPage::OpenGnomeKeybindingProperties() {
if (!QProcess::startDetached("gnome-keybinding-properties")) {
if (!QProcess::startDetached("gnome-keybinding-properties", QStringList())) {
if (!QProcess::startDetached("gnome-control-center", QStringList() << "keyboard")) {
QMessageBox::warning(this, "Error", tr("The \"%1\" command could not be started.").arg("gnome-keybinding-properties"));
}