summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index a79319f1..4c91a688 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -177,7 +177,9 @@ Engine::Engine():
{
// Initializes GUI
debugInfo = new gcn::Label();
- guiTop->add(debugInfo);
+ // Oh, come on guichan folks, how useful is it to have a single widget gui?
+ // (Well, the BasicContainer interface isn't that much more useful... ;)
+ dynamic_cast<WindowContainer*>(gui->getTop())->add(debugInfo);
// Create dialogs
chatWindow = new ChatWindow(