summaryrefslogtreecommitdiff
path: root/metawatch/metawatchplugin.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-12-02 20:31:12 +0100
committerJavier S. Pedro <maemo@javispedro.com>2011-12-02 20:31:12 +0100
commitcd220a213060b6211330699ec6a3830593945a24 (patch)
treeffc66db575419828da9262c9ba07e1204075767f /metawatch/metawatchplugin.cpp
parent88d6c8d388bd73e1f2ee1c23df221f8d3c6208d9 (diff)
downloadsowatch-cd220a213060b6211330699ec6a3830593945a24.tar.gz
sowatch-cd220a213060b6211330699ec6a3830593945a24.zip
moving some resources to the filesystem
Diffstat (limited to 'metawatch/metawatchplugin.cpp')
-rw-r--r--metawatch/metawatchplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/metawatch/metawatchplugin.cpp b/metawatch/metawatchplugin.cpp
index 5e649a9..523230b 100644
--- a/metawatch/metawatchplugin.cpp
+++ b/metawatch/metawatchplugin.cpp
@@ -13,9 +13,9 @@ bool MetaWatchPlugin::fontsLoaded = false;
MetaWatchPlugin::MetaWatchPlugin()
{
if (!fontsLoaded) {
- QFontDatabase::addApplicationFont(":/metawatch/fonts/metawatch_16pt_11pxl.ttf");
- QFontDatabase::addApplicationFont(":/metawatch/fonts/metawatch_8pt_7pxl_CAPS.ttf");
- QFontDatabase::addApplicationFont(":/metawatch/fonts/metawatch_8pt_5pxl_CAPS.ttf");
+ QFontDatabase::addApplicationFont(SOWATCH_RESOURCES_DIR "/metawatch/fonts/metawatch_16pt_11pxl.ttf");
+ QFontDatabase::addApplicationFont(SOWATCH_RESOURCES_DIR "/metawatch/fonts/metawatch_8pt_7pxl_CAPS.ttf");
+ QFontDatabase::addApplicationFont(SOWATCH_RESOURCES_DIR "/metawatch/fonts/metawatch_8pt_5pxl_CAPS.ttf");
// "MetaWatch Large 16pt", "MetaWatch Large caps 8pt", "MetaWatch Small caps 8pt"
fontsLoaded = true;
}