aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qregisters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qregisters.cpp')
-rw-r--r--src/qregisters.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qregisters.cpp b/src/qregisters.cpp
index 41e1a16..69b3ea9 100644
--- a/src/qregisters.cpp
+++ b/src/qregisters.cpp
@@ -53,6 +53,12 @@ namespace States {
}
namespace QRegisters {
+ /*
+ * NOTE: the ctor will still be called before
+ * Scintilla is initialized.
+ * But the dtor is called before Scintilla
+ * destruction.
+ */
QRegisterTable globals INIT_PRIO(PRIO_INTERFACE+1);
QRegisterTable *locals = NULL;
QRegister *current = NULL;