qt6-bb10/src
Andreas Hartmetz e7bf0edfd4 Add option to disable "session management by closing windows".
That feature is a poor man's session management for applications
that do not implement any specific session management features.
It badly interferes with proper session management support, so
applications must be able to disable it.

This enables fixing applications with
QGuiApplication::quitOnLastWindowClosed() true - the default -
dying too early, before they are enumerated for the list of
applications to restart on session restore, thus preventing them
from being restored. See
https://bugs.kde.org/show_bug.cgi?id=354724

[ChangeLog][QtGui] Qt asking to close windows on session exit as
a fallback session management mechanism has been made optional.
Disabling it fixes session management for applications that
implement full session management. See
QGuiApplication::isFallbackSessionManagementEnabled().

Task-number: QTBUG-49667
Change-Id: Ib22e58c9c64351dea8b7e2a74db91d26dd7ab7aa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2016-02-15 16:10:20 +00:00
..
3rdparty Install the static qtfreetype lib 2016-01-26 13:26:47 +00:00
android Handle native views visibility properly. 2016-01-26 12:41:14 +00:00
angle rework include path construction in the module system 2016-01-12 15:14:57 +00:00
concurrent Avoid heap allocations in Median class 2016-01-21 18:57:04 +00:00
corelib Fix QT_DEPRECATED_SINCE usage 2016-02-02 19:24:12 +00:00
dbus Fix dbus wince build 2016-02-05 04:14:28 +00:00
gui Add option to disable "session management by closing windows". 2016-02-15 16:10:20 +00:00
network Fix QT_DEPRECATED_SINCE usage 2016-02-02 19:24:12 +00:00
opengl QtBase: remove explicit function info from qWarning() etc 2015-11-28 16:34:26 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Windows: fix fullscreen OpenGL window issues with an opt-in function 2015-12-17 14:43:38 +00:00
platformsupport Merge 5.6 into 5.6.0 2016-02-02 13:12:21 +01:00
plugins Account for hinting preference in alpha map bounding box 2016-02-09 18:04:21 +00:00
printsupport Center QPrintPropertiesDialog on top of its parent 2016-01-18 15:57:59 +00:00
sql Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
testlib BIC: Rename back symbol that was mistakenly thought to be private 2016-02-02 19:22:55 +00:00
tools Fix GCC 6 valid warnings about misleading indendations 2016-01-30 07:38:15 +00:00
widgets Revert "QWidgetWindow: call base class close event impl". 2016-02-05 04:14:09 +00:00
winmain winrt: handle PrelaunchActivated property to pass certification 2016-01-05 13:04:09 +00:00
xml Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
src.pro rework include path construction in the module system 2016-01-12 15:14:57 +00:00