mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 13:15:39 +08:00
refs #887, do not start wizard when other applications are running
(potential problems with writing settings) Utility functions in info list
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1076eb2b29
commit
2005e1881b
@@ -79,7 +79,7 @@ private:
|
||||
QScopedPointer<Ui::CSwiftLauncher> ui;
|
||||
QScopedPointer<BlackGui::Components::CConfigurationWizard> m_wizard;
|
||||
BlackMisc::CData<BlackCore::Data::TUpdateInfo> m_updateInfo { this, &CSwiftLauncher::ps_changedUpdateInfoCache }; //!< version cache
|
||||
BlackMisc::CData<BlackCore::Data::TLauncherSetup> m_setup { this }; //! setup, ie last user selection
|
||||
BlackMisc::CData<BlackCore::Data::TLauncherSetup> m_setup { this }; //!< setup, i.e. last user selection
|
||||
QString m_executable;
|
||||
QStringList m_executableArgs;
|
||||
QTimer m_checkTimer { this };
|
||||
@@ -140,6 +140,9 @@ private:
|
||||
//! Save state
|
||||
void saveSetup();
|
||||
|
||||
//! Check for other swift applications, if so show message box
|
||||
bool warnAboutOtherSwiftApplications();
|
||||
|
||||
//! Command line
|
||||
static QString toCmdLine(const QString &exe, const QStringList &exeArgs);
|
||||
|
||||
@@ -183,7 +186,7 @@ private slots:
|
||||
//! Show the log page
|
||||
void ps_showLogPage();
|
||||
|
||||
//! Check if applicationas are already running
|
||||
//! Check if applications are already running
|
||||
void ps_checkRunningApplicationsAndCore();
|
||||
|
||||
//! Start the configuration wizard
|
||||
|
||||
Reference in New Issue
Block a user