Commit c0d6c7c5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Remove workaround for Qt bug that was resolved in 5.1.1

QTBUG-31569

Change-Id: I33ffc505a9a26f5cd338d7768f5f854ef3cccaca
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent c1b92fea
......@@ -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()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment