diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-11-05 23:02:33 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-11-06 12:43:46 +0100 |
commit | c0d6c7c54af5846160cac4a6b00357ed7db116ae (patch) | |
tree | af3e17424d16a94e79fe9f49065dd9cdc7df745c /src/app | |
parent | c1b92fea69a1930ba5863a2f99ffe87b3422933d (diff) | |
download | qt-creator-c0d6c7c54af5846160cac4a6b00357ed7db116ae.tar.gz |
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>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index ed5176ea52..da67b6f04a 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -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())); |