Changeset 7e8e1b444d in tspsg
- Timestamp:
- Jul 17, 2012, 7:13:58 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- c8ed26ddf1
- Parents:
- 95c1897bf1
- git-author:
- Oleksii Serdiuk <contacts@…> (07/17/12 19:13:58)
- git-committer:
- Oleksii Serdiuk <contacts@…> (07/17/12 19:27:37)
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
resources/common.qrc
r95c1897bf1 r7e8e1b444d 5 5 <qresource prefix="/files"> 6 6 <file>COPYING</file> 7 <file>DejaVuLGCSansMono.ttf</file> 7 <file>fonts/DejaVuLGCSansMono.ttf</file> 8 <file>fonts/DejaVuLGCSansMono-Bold.ttf</file> 8 9 </qresource> 9 10 </RCC> -
src/main.cpp
r95c1897bf1 r7e8e1b444d 69 69 #endif 70 70 // Don't load the font if it is already available 71 if (!QFontDatabase().families().contains(DEF_FONT_FACE)) 72 QFontDatabase::addApplicationFont(":/files/DejaVuLGCSansMono.ttf"); 71 if (!QFontDatabase().families().contains(DEF_FONT_FACE)) { 72 QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono.ttf"); 73 QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono-Bold.ttf"); 74 } 73 75 74 76 QTranslator en;
Note: See TracChangeset
for help on using the changeset viewer.