summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 00:09:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 00:09:32 +0300
commit029818ba44703c5151f8d916284e307b05d08fa9 (patch)
tree785726402146454e69acf1b18ad12f6890e29932 /src/gui/gui.cpp
parent1936a2bcfad1b37385aec3d84efabf2570a8c9e8 (diff)
downloadmv-029818ba44703c5151f8d916284e307b05d08fa9.tar.gz
mv-029818ba44703c5151f8d916284e307b05d08fa9.tar.bz2
mv-029818ba44703c5151f8d916284e307b05d08fa9.tar.xz
mv-029818ba44703c5151f8d916284e307b05d08fa9.zip
Add configure option --enable-checks for check some calls (disabled by default)
Also add configuration listeners removing in objects.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp5
1 files changed, 5 insertions, 0 deletions
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)