forked from qt-creator/qt-creator
Wizards: Do not crash when dialogs are still open on quit
Change-Id: I49622484e316b902699e5b63ea3eea827d2f2680 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
eaf718bdea
commit
4890307b0c
@@ -339,8 +339,6 @@ void IWizardFactory::destroyFeatureProvider()
|
||||
|
||||
void IWizardFactory::clearWizardFactories()
|
||||
{
|
||||
QTC_ASSERT(!ICore::isNewItemDialogRunning(), return);
|
||||
|
||||
foreach (IWizardFactory *factory, s_allFactories)
|
||||
ActionManager::unregisterAction(factory->m_action, actionId(factory));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user