refs #886, start config wizard when -i is passed to launcher

made -i an optional flag
This commit is contained in:
Klaus Basan
2017-03-08 05:00:03 +01:00
committed by Mathew Sutcliffe
parent cc732bca84
commit 221e4c2b9c
2 changed files with 7 additions and 1 deletions

View File

@@ -74,6 +74,12 @@ CSwiftLauncher::CSwiftLauncher(QWidget *parent) :
connect(&m_checkTimer, &QTimer::timeout, this, &CSwiftLauncher::ps_checkRunningApplicationsAndCore);
m_checkTimer.setInterval(2500);
m_checkTimer.start();
// auto launch wizard
if (sGui->isParserOptionSet("installer"))
{
QTimer::singleShot(2500, this, &CSwiftLauncher::ps_startWizard);
}
}
CSwiftLauncher::~CSwiftLauncher()