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:
parent
756e619e07
commit
5c7a4cdc22
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user