From d9f140ec45f91a8567b6d8e2ce69fe853ae8b3a9 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 15 Sep 2014 01:53:44 +0200 Subject: minimal notifications --- src/salmeta.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/salmeta.cpp') diff --git a/src/salmeta.cpp b/src/salmeta.cpp index 46e4e89..914f117 100644 --- a/src/salmeta.cpp +++ b/src/salmeta.cpp @@ -1,4 +1,5 @@ #include +#include #include #include "controller.h" @@ -29,6 +30,13 @@ int main(int argc, char *argv[]) qmlRegisterUncreatableType("com.javispedro.salmeta", 1, 0, "WidgetInfo", "Use the models, not this"); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/metawatch_8pt_5pxl_CAPS.ttf").toLocalFile()); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/metawatch_8pt_5pxl_Numerals.ttf").toLocalFile()); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/metawatch_8pt_6pxl_Numerals.ttf").toLocalFile()); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/metawatch_8pt_7pxl_CAPS.ttf").toLocalFile()); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/metawatch_16pt_11pxl.ttf").toLocalFile()); + QFontDatabase::addApplicationFont(SailfishApp::pathTo("qml/watch/MetaWatch-Large-16pt-Sync.ttf").toLocalFile()); + if (launch_daemon) { qDebug() << "Starting salmeta (daemon) with settings from" << settings_key_prefix; -- cgit v1.2.3