summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index a5fca58..ab71509 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -1951,8 +1951,14 @@ void QApplicationPrivate::setSystemPalette(const QPalette &pal)
QFont QApplication::font()
{
QMutexLocker locker(applicationFontMutex());
- if (!QApplicationPrivate::app_font)
+ if (!QApplicationPrivate::app_font) {
+#if defined(Q_OS_BLACKBERRY)
+ QApplicationPrivate::app_font = new QFont(QLatin1String("Slate Pro"));
+ QApplicationPrivate::app_font->setPixelSize(21);
+#else
QApplicationPrivate::app_font = new QFont(QLatin1String("Helvetica"));
+#endif
+ }
return *QApplicationPrivate::app_font;
}