diff options
author | Andreas Hartmetz <andreas@ixgreen.de> | 2020-08-29 10:59:16 +0200 |
---|---|---|
committer | Andreas Hartmetz <andreas@ixgreen.de> | 2020-09-01 10:16:15 +0200 |
commit | 7f878c6217754dd2b63401bf1c006476e5dc27eb (patch) | |
tree | 2b62609826b7b921d2fdea9ce726c7d56ab7b2b5 /src/gui/kernel/qguiapplication_p.h | |
parent | 98f41552e4c3d0e70b56bc8fc37005d438c185ae (diff) |
Remove "fallback session management"
With the Qt6 compatibility break, it can finally be removed.
Closing windows (which might quit the application with
quitOnLastWindowClosed() true, the default) acted contrary to the
documentation of the commitDataRequest() signal, which could have
been a hint.
This removes the workaround API from the fix for QTBUG-49667 and
also removes the problematic feature that it worked around.
Change-Id: I672be58864ef062df7fb7f2a81658b92c4feedd2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index f8cd8809e8..41b745e569 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -107,7 +107,6 @@ public: virtual bool shouldQuit() override; bool shouldQuitInternal(const QWindowList &processedWindows); - virtual bool tryCloseAllWindows(); static void captureGlobalModifierState(QEvent *e); static Qt::KeyboardModifiers modifier_buttons; @@ -279,7 +278,6 @@ public: #endif #ifndef QT_NO_SESSIONMANAGER - static bool is_fallback_session_management_enabled; QSessionManager *session_manager; bool is_session_restored; bool is_saving_session; @@ -341,7 +339,6 @@ protected: virtual QPalette basePalette() const; virtual void handlePaletteChanged(const char *className = nullptr); - bool tryCloseRemainingWindows(QWindowList processedWindows); #if QT_CONFIG(draganddrop) virtual void notifyDragStarted(const QDrag *); #endif // QT_CONFIG(draganddrop) |