From 492bbdefd3655f55427761c324e90934157833fb Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 4 May 2011 09:11:33 +0200 Subject: Remove more QApp dependencies platformIntegration() lives in QGuiApplication QFont and QFontDatabase can live with QGuiApp only as well. --- src/gui/kernel/qplatformscreen_qpa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/kernel/qplatformscreen_qpa.cpp') 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]; } -- cgit v1.2.3