diff options
Diffstat (limited to 'src/widgets/kernel/qapplication.h')
-rw-r--r-- | src/widgets/kernel/qapplication.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index 1903aa48dc..36a7576c2d 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -51,7 +51,6 @@ QT_BEGIN_NAMESPACE -class QDesktopWidget; class QStyle; class QEventLoop; class QIcon; @@ -106,7 +105,7 @@ public: static QWidgetList allWidgets(); static QWidgetList topLevelWidgets(); - static QDesktopWidget *desktop(); + static QWidget *desktop(QScreen *screen = nullptr); static QWidget *activePopupWidget(); static QWidget *activeModalWidget(); |