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/qwindow.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/qwindow.cpp')
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |