summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont_qpa.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-05 10:38:15 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-05-05 10:38:15 +0200
commit7351a43560675def9aeab111aa5cd22891b74f72 (patch)
tree9bbc502b3045573d4becf56ef8f39c2a6037f760 /src/gui/text/qrawfont_qpa.cpp
parent22a6540326ad5c97babde53ea70f291e38e65f2d (diff)
remove some QApplication dependencies
Diffstat (limited to 'src/gui/text/qrawfont_qpa.cpp')
-rw-r--r--src/gui/text/qrawfont_qpa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qrawfont_qpa.cpp b/src/gui/text/qrawfont_qpa.cpp
index 103619c37d..6c8befec60 100644
--- a/src/gui/text/qrawfont_qpa.cpp
+++ b/src/gui/text/qrawfont_qpa.cpp
@@ -45,7 +45,7 @@
#include "qrawfont_p.h"
#include <QtGui/qplatformfontdatabase_qpa.h>
-#include <private/qapplication_p.h>
+#include <private/qguiapplication_p.h>
QT_BEGIN_NAMESPACE
@@ -58,7 +58,7 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, int pixel
{
Q_ASSERT(fontEngine == 0);
- QPlatformFontDatabase *pfdb = QApplicationPrivate::platformIntegration()->fontDatabase();
+ QPlatformFontDatabase *pfdb = QGuiApplicationPrivate::platformIntegration()->fontDatabase();
fontEngine = pfdb->fontEngine(fontData, pixelSize, hintingPreference);
if (fontEngine != 0)
fontEngine->ref.ref();