summaryrefslogtreecommitdiffstats
path: root/basicsuite/shared/main.cpp
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2014-04-08 14:05:31 +0300
committerPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2014-04-08 16:20:01 +0300
commit5d498744d0590a0b2d6af68137b344d5415610fe (patch)
tree766873d0a1ef57308c1b778a85f372fe91c99bd2 /basicsuite/shared/main.cpp
parenteaf6083b8215efce7e57fdb6e2142c7e0407b196 (diff)
Change default font for demos to support arabic numbers
Demos itself did use the wrong font when virtualkeyboard used the correct one. Task-number: QTEE-354 Change-Id: I987b7b6d9c1132c906b6283951bbe46d38237a3d Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Diffstat (limited to 'basicsuite/shared/main.cpp')
-rw-r--r--basicsuite/shared/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicsuite/shared/main.cpp b/basicsuite/shared/main.cpp
index 808d5df..25c3cb4 100644
--- a/basicsuite/shared/main.cpp
+++ b/basicsuite/shared/main.cpp
@@ -57,10 +57,10 @@ int main(int argc, char **argv)
excludeFile.close();
}
- QString fontName = QStringLiteral("/system/lib/fonts/OpenSans-Regular.ttf");
+ QString fontName = QStringLiteral("/system/lib/fonts/DejaVuSans.ttf");
if (QFile::exists(fontName)) {
QFontDatabase::addApplicationFont(fontName);
- QFont font("Open Sans");
+ QFont font("DejaVu Sans");
font.setPixelSize(12);
QGuiApplication::setFont(font);
} else {