summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-16 14:38:51 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-16 14:38:51 +0000
commit2ce07c27bbd6bd500d043527a0d892e3d32c36d8 (patch)
tree4e91d3945c0968f15dffa0045a5c9c1a01e2e324 /src/gui/gui.cpp
parentac08acd4b4029a2519c81eecf938e1c03b51233c (diff)
downloadmana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.gz
mana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.bz2
mana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.xz
mana-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.cpp3
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();
}