diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-04 09:11:33 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-04 09:11:33 +0200 |
commit | 492bbdefd3655f55427761c324e90934157833fb (patch) | |
tree | 6dfaff4962a915d6486e91a025e7cdd9c01bb3f8 /src/gui/kernel/qplatformscreen_qpa.cpp | |
parent | 54c9b1a80c04a5ecc685dc29e27a27de81d8cc1b (diff) |
Remove more QApp dependencies
platformIntegration() lives in QGuiApplication
QFont and QFontDatabase can live with QGuiApp only
as well.
Diffstat (limited to 'src/gui/kernel/qplatformscreen_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformscreen_qpa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformscreen_qpa.cpp b/src/gui/kernel/qplatformscreen_qpa.cpp index 2e1a13769d..8b686781ab 100644 --- a/src/gui/kernel/qplatformscreen_qpa.cpp +++ b/src/gui/kernel/qplatformscreen_qpa.cpp @@ -91,7 +91,7 @@ QPlatformScreen * QPlatformScreen::platformScreenForWidget(const QWidget *widget if (topData) screenIndex = topData->screenIndex; QPlatformIntegration *integration = - QApplicationPrivate::platformIntegration(); + QGuiApplicationPrivate::platformIntegration(); return integration->screens()[screenIndex]; } |