From 6aaafb47ebc10fcc88d9d140bcc5c70eab417160 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 7 Jun 2006 02:55:08 +0000 Subject: oops. More appropriate place for loading fonts. Avoids loading fonts on each GUI start svn-id: r22968 --- gui/ThemeNew.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 7fd8468be0..300e633060 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -160,8 +160,6 @@ bool ThemeNew::init() { processExtraValues(); } - setupFonts(); - for (int i = 0; i < kImageHandlesMax; ++i) { if (!_images[i]) { return false; @@ -1514,6 +1512,8 @@ void ThemeNew::processExtraValues() { warning("no valid 'inactive_dialog_shading' specified"); } + setupFonts(); + // load the colors from the config file setupColors(); -- cgit v1.2.3