diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-14 23:40:34 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-16 04:44:13 +0200 |
commit | 215594d664f6fc7057468a05a59344f08a78a976 (patch) | |
tree | c2c31c30383e4090c6da0f31a4fcf1ca098a769c /src/corelib | |
parent | ef1905aebc4c4961c859bd781398dc6cea89d3a0 (diff) |
Purge QDesktopWidget
It's no longer used; the only calls to QApplicationPrivate::desktop
pass the default nullptr for QScreen, so all we need is a Qt::Desktop
type toplevel widget.
Include changes documentation about both the class and QApplication::desktop
being gone in Qt 6.
Change-Id: I22d6e93cabc6aaaefffe5e96942886a2ef4e0609
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 3cddb711c5..b7191bfd49 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2150,8 +2150,7 @@ \value SplashScreen Indicates that the window is a splash screen. This is the default type for QSplashScreen. - \omitvalue Desktop Indicates that this widget is the desktop. This - is the type for QDesktopWidget. + \omitvalue Desktop Indicates that this widget is the desktop. \value SubWindow Indicates that this widget is a sub-window, such as a QMdiSubWindow widget. |