forked from qt-creator/qt-creator
Fix crash on creating console project
Delete the model first, because doing so can emit signals that change the ui. Change-Id: I2af787423d09a95b5ffa4d712c83103058bad91f Task-number: QTCREATORBUG-14321 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -337,8 +337,8 @@ ProjectWizardPage::ProjectWizardPage(QWidget *parent) :
|
||||
|
||||
ProjectWizardPage::~ProjectWizardPage()
|
||||
{
|
||||
delete m_ui;
|
||||
delete m_model;
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
void ProjectWizardPage::setModel(TreeModel *model)
|
||||
|
Reference in New Issue
Block a user