summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-14 23:40:34 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-16 04:44:13 +0200
commit215594d664f6fc7057468a05a59344f08a78a976 (patch)
treec2c31c30383e4090c6da0f31a4fcf1ca098a769c /src/corelib/global/qnamespace.qdoc
parentef1905aebc4c4961c859bd781398dc6cea89d3a0 (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/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc3
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.