forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.2' into HEAD
Change-Id: I257bb9310bb3bde493aff4cd43091ec63fcb5203
This commit is contained in:
@@ -241,6 +241,11 @@ bool MainWindow::isNewItemDialogRunning() const
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
// explicitly delete window support, because that calls methods from ICore that call methods
|
||||
// from mainwindow, so mainwindow still needs to be alive
|
||||
delete m_windowSupport;
|
||||
m_windowSupport = 0;
|
||||
|
||||
ExtensionSystem::PluginManager::removeObject(m_shortcutSettings);
|
||||
ExtensionSystem::PluginManager::removeObject(m_generalSettings);
|
||||
ExtensionSystem::PluginManager::removeObject(m_toolSettings);
|
||||
@@ -371,11 +376,6 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
||||
m_navigationWidget->closeSubWidgets();
|
||||
|
||||
event->accept();
|
||||
|
||||
// explicitly delete window support, because that calls methods from ICore that call methods
|
||||
// from mainwindow, so mainwindow still needs to be alive
|
||||
delete m_windowSupport;
|
||||
m_windowSupport = 0;
|
||||
}
|
||||
|
||||
void MainWindow::openDroppedFiles(const QStringList &files)
|
||||
|
||||
Reference in New Issue
Block a user