Skip to content

Commit

Permalink
Fixed: Problem with QFont::exactMatch()
Browse files Browse the repository at this point in the history
GuardMalloc reports a problem with QFont::exactMatch(). Perhaps it
is too early to call it (before Qt event loop entered), or there's
a bug in Qt 4.8.
  • Loading branch information
skyjake committed Mar 15, 2013
1 parent bf11978 commit 67b6902
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/tools/shell/shell-gui/src/preferences.cpp
Expand Up @@ -99,11 +99,11 @@ DENG2_PIMPL(Preferences)
{
QFont font;
#ifdef MACOSX
# ifdef MACOS_10_4
font = QFont("Monaco", 12);
# else
font = QFont("Menlo", 13);
if(!font.exactMatch())
{
font = QFont("Monaco", 12);
}
# endif
#elif WIN32
font = QFont("Fixedsys", 9);
#else
Expand Down

0 comments on commit 67b6902

Please sign in to comment.