diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-12-10 16:06:53 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-12-17 20:03:01 +0100 |
| commit | 1649137b9311a5ee3d12bc8824f5453294bd6fe9 (patch) | |
| tree | 75d3501a99b3dc6acca27a4719e475b633a5c1f8 /src/corelib/kernel/qsocketnotifier.cpp | |
| parent | 9dbee412724831827019a71627dfb2f8fd85686e (diff) | |
Clarify QWindowPrivate::maybeQuitOnLastWindowClosed
We only need to check QGuiApplication::quitOnLastWindowClosed() at
the point where we've actually concluded that the last window was
closed.
Checking for !q->parent() was redundant, as we were already
exiting early when !q->isTopLevel().
Pick-to: 6.0 5.15
Change-Id: I934e186d707361b31d19692c04d2e17b7ba0f49e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/kernel/qsocketnotifier.cpp')
0 files changed, 0 insertions, 0 deletions
