summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegration_qpa.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-03 14:50:40 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-03 14:54:35 +0200
commit37edacb7109ee1b81f4106e177913f23d86b47a3 (patch)
treed06ee3db18ccef7705c391a2f4e9648d1aa502ae /src/gui/kernel/qplatformintegration_qpa.cpp
parent6c4dec7bff6f55b0c41729f4a4ab6962a037af15 (diff)
QPlatformFontDatabase: Add default fonts.
Add a default font accessor used to initalize QGuiApplication::font(). Add accessor for default font hash providing the defaults for QApplication::font(const char *widgetClassName). Change-Id: Ie4eb6edb251a81e81288ef480ae5550bd1125008 Reviewed-by: Samuel Rødal <sroedal@trolltech.com> Reviewed-on: http://codereview.qt.nokia.com/2567 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatformintegration_qpa.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp
index 04f1bd392a..886ca16da3 100644
--- a/src/gui/kernel/qplatformintegration_qpa.cpp
+++ b/src/gui/kernel/qplatformintegration_qpa.cpp
@@ -195,6 +195,7 @@ QPlatformPixmap *QPlatformIntegration::createPlatformPixmap(QPlatformPixmap::Pix
QPlatformGLContext *QPlatformIntegration::createPlatformGLContext(QGuiGLContext *context) const
{
+ Q_UNUSED(context);
qWarning("This plugin does not support createPlatformGLContext!");
return 0;
}