mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
Shutdown check
This commit is contained in:
@@ -233,6 +233,7 @@ void CSwiftLauncher::setHeaderInfo(const CArtifact &latestArtifact)
|
|||||||
|
|
||||||
void CSwiftLauncher::startSwiftCore()
|
void CSwiftLauncher::startSwiftCore()
|
||||||
{
|
{
|
||||||
|
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||||
this->saveSetup();
|
this->saveSetup();
|
||||||
QStringList args = ui->comp_DBusSelector->getDBusCmdLineArgs();
|
QStringList args = ui->comp_DBusSelector->getDBusCmdLineArgs();
|
||||||
if (ui->rb_SwiftCoreAudioOnCore->isChecked())
|
if (ui->rb_SwiftCoreAudioOnCore->isChecked())
|
||||||
@@ -253,6 +254,7 @@ void CSwiftLauncher::setSwiftDataExecutable()
|
|||||||
|
|
||||||
bool CSwiftLauncher::setSwiftGuiExecutable()
|
bool CSwiftLauncher::setSwiftGuiExecutable()
|
||||||
{
|
{
|
||||||
|
if (!sGui || sGui->isShuttingDown()) { return false; }
|
||||||
m_executable = CDirectoryUtils::executableFilePath(CBuildConfig::swiftGuiExecutableName());
|
m_executable = CDirectoryUtils::executableFilePath(CBuildConfig::swiftGuiExecutableName());
|
||||||
QStringList args
|
QStringList args
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user