mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Setup Wizard: Trigger the wizard with show() instead of exec() as using
exec blocks the main application event loop.
This commit is contained in:
parent
ae80370b1d
commit
b99b221a6d
@ -82,7 +82,9 @@ void SetupWizardPlugin::shutdown()
|
||||
|
||||
void SetupWizardPlugin::showSetupWizard()
|
||||
{
|
||||
SetupWizard().exec();
|
||||
SetupWizard *m_wiz = new SetupWizard();
|
||||
m_wiz->setAttribute( Qt::WA_DeleteOnClose, true );
|
||||
m_wiz->show();
|
||||
}
|
||||
|
||||
Q_EXPORT_PLUGIN(SetupWizardPlugin)
|
||||
|
Loading…
Reference in New Issue
Block a user