diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-16 14:38:51 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-16 14:38:51 +0000 |
commit | 2ce07c27bbd6bd500d043527a0d892e3d32c36d8 (patch) | |
tree | 4e91d3945c0968f15dffa0045a5c9c1a01e2e324 /src/gui/gui.cpp | |
parent | ac08acd4b4029a2519c81eecf938e1c03b51233c (diff) | |
download | mana-client-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.gz mana-client-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.bz2 mana-client-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.xz mana-client-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.zip |
Use Widget::mFont instead of browserFont for drawing, fixes the "gui needs to be valid real early" issue.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 0017e23a..b52ff8e8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -170,9 +170,6 @@ Gui::Gui(Graphics *graphics): mConfigListener = new GuiConfigListener(this); config.addListener("customcursor", mConfigListener); - // XXX FIXME: Just a temporary solution to work around a bug, better way - // would be to implement a FontManager class. - gui = this; mPopup = new PopupMenu(); } |