diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-13 21:02:39 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-14 18:10:16 +0200 |
commit | a8dd18252c4c8027e8c7956f3c5428b56014445b (patch) | |
tree | 8fb5b1e62c4158b56117df0ba3e688e4031e2fd1 /src/widgets/kernel/qapplication.h | |
parent | 5c097f895d73a80c8ff5b401100e25c4b5f69eeb (diff) |
Remove QApplication::desktop
It's been replaced with QScreen-based APIs.
There's some internal code left
depending on a QWidget representing a screen, so move the API into
QApplicationPrivate until that's cleaned up as well.
Change-Id: I851e0901832f2747af3bf2c16a9c4d815598bd08
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication.h')
-rw-r--r-- | src/widgets/kernel/qapplication.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index 36a7576c2d..52304c637a 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -105,8 +105,6 @@ public: static QWidgetList allWidgets(); static QWidgetList topLevelWidgets(); - static QWidget *desktop(QScreen *screen = nullptr); - static QWidget *activePopupWidget(); static QWidget *activeModalWidget(); static QWidget *focusWidget(); |