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/qwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/kernel/qwindow.cpp') diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 17afd53300..92b62e9276 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -86,7 +86,7 @@ void QWindow::create() { Q_D(QWindow); if (!d->platformWindow) { - d->platformWindow = QApplicationPrivate::platformIntegration()->createPlatformWindow(this); + d->platformWindow = QGuiApplicationPrivate::platformIntegration()->createPlatformWindow(this); d->windowFlags = d->platformWindow->setWindowFlags(d->windowFlags); if (!d->windowTitle.isNull()) d->platformWindow->setWindowTitle(d->windowTitle); -- cgit v1.2.3