From 215594d664f6fc7057468a05a59344f08a78a976 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 14 Oct 2020 23:40:34 +0200 Subject: Purge QDesktopWidget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø --- src/corelib/global/qnamespace.qdoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/corelib/global/qnamespace.qdoc') 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. -- cgit v1.2.3