forked from qt-creator/qt-creator
Remove workaround for Qt bug that was resolved in 5.1.1
QTBUG-31569 Change-Id: I33ffc505a9a26f5cd338d7768f5f854ef3cccaca Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c1b92fea69
commit
c0d6c7c54a
@@ -511,10 +511,6 @@ int main(int argc, char **argv)
|
||||
QObject::connect(&app, SIGNAL(fileOpenRequest(QString)), coreplugin->plugin(),
|
||||
SLOT(fileOpenRequest(QString)));
|
||||
|
||||
// quit when last window (relevant window, see WA_QuitOnClose) is closed
|
||||
// this should actually be the default, but doesn't work in Qt 5
|
||||
// QTBUG-31569
|
||||
QObject::connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
|
||||
// shutdown plugin manager on the exit
|
||||
QObject::connect(&app, SIGNAL(aboutToQuit()), &pluginManager, SLOT(shutdown()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user