summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-03-17 17:14:16 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2020-03-17 17:19:44 +0100
commit8337684b044b944ba99c7e9a69933ea29e1194ab (patch)
tree41c02ea82d35d2698ad6d47c866d6834567676ad /src/widgets/kernel/qapplication.cpp
parent0677525f2ed0bf195acdc4c6d047c258e2f9f523 (diff)
Fix docs suggesting that it's possible to draw to the X11 screen
It's not possible anymore, since many years. The desktop's don't use the X11 root window anymore :) Fixes: QTBUG-82880 Change-Id: I923f29f23e61d93640cacb2ac20620c5ddc480b9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication.cpp')
-rw-r--r--src/widgets/kernel/qapplication.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp
index f49461b2d0..a2c2dccbcc 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -2695,8 +2695,6 @@ void QApplicationPrivate::sendSyntheticEnterLeave(QWidget *widget)
QDesktopWidget has various functions for obtaining useful geometries upon
the desktop, such as QDesktopWidget::screenGeometry() and
QDesktopWidget::availableGeometry().
-
- On X11, it is also possible to draw on the desktop.
*/
QDesktopWidget *QApplication::desktop()
{