From 029818ba44703c5151f8d916284e307b05d08fa9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Nov 2013 00:09:32 +0300 Subject: Add configure option --enable-checks for check some calls (disabled by default) Also add configuration listeners removing in objects. --- src/gui/gui.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index d32e81fe8..0c75dd4e4 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -69,6 +69,11 @@ class GuiConfigListener final : public ConfigListener A_DELETE_COPY(GuiConfigListener) + virtual ~GuiConfigListener() + { + CHECKLISTENERS + } + void optionChanged(const std::string &name) { if (!mGui) -- cgit v1.2.3-70-g09d2