Changeset 130 in tspsg-svn for trunk/src/main.cpp
- Timestamp:
- Sep 3, 2010, 5:34:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main.cpp
r129 r130 53 53 qsrand(QDateTime::currentDateTime().toTime_t() ^ QCursor::pos().x() ^ QCursor::pos().y()); 54 54 55 QFontDatabase::addApplicationFont(":/files/DejaVuLGCSansMono.ttf"); 55 // Don't load the font if it is already available 56 if (!QFontDatabase().families().contains(DEF_FONT_FACE)) 57 QFontDatabase::addApplicationFont(":/files/DejaVuLGCSansMono.ttf"); 56 58 57 59 QTranslator en;
Note: See TracChangeset
for help on using the changeset viewer.