mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Exclude some more cmd line args. from being passed from launcher
This commit is contained in:
@@ -297,7 +297,7 @@ namespace BlackCore
|
|||||||
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Laucher);
|
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Laucher);
|
||||||
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Laucher)) { return false; }
|
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Laucher)) { return false; }
|
||||||
|
|
||||||
const QStringList args = this->argumentsJoined({}, { "--dbus" });
|
const QStringList args = this->argumentsJoined({}, { "--dbus", "--core", "--coreaudio" });
|
||||||
return QProcess::startDetached(launcher, args);
|
return QProcess::startDetached(launcher, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user