diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 18cc061b2..d32e81fe8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -82,7 +82,7 @@ class GuiConfigListener final : public ConfigListener Gui *mGui; }; -Gui::Gui(Graphics *const graphics) : +Gui::Gui() : gcn::Gui(), mConfigListener(new GuiConfigListener(this)), mGuiFont(), @@ -104,6 +104,10 @@ Gui::Gui(Graphics *const graphics) : mCustomCursor(false), mDoubleClick(true) { +} + +void Gui::postInit(Graphics *const graphics) +{ logger->log1("Initializing GUI..."); // Set graphics setGraphics(graphics); |