Closed wizard then open mainwindow #4235

This commit is contained in:
Xinyu Hou 2014-11-28 15:01:23 +00:00
parent 4452f14114
commit 17278f7224
1 changed files with 2 additions and 2 deletions

View File

@ -123,13 +123,13 @@ void SetupWizard::accept()
settings.sync(); settings.sync();
QWizard::accept();
if (m_StartMain) if (m_StartMain)
{ {
m_MainWindow.updateZeroconfService(); m_MainWindow.updateZeroconfService();
m_MainWindow.open(); m_MainWindow.open();
} }
QWizard::accept();
} }
void SetupWizard::reject() void SetupWizard::reject()