summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 4b00d22..4780c95 100644
--- a/src/config.h
+++ b/src/config.h
@@ -338,6 +338,11 @@ class Config
if (m_instance==0) m_instance = new Config;
return m_instance;
}
+ /*! Delete the instance */
+ static void deleteInstance()
+ {
+ delete m_instance;
+ }
/*! Returns an iterator that can by used to iterate over the
* configuration options.