summaryrefslogtreecommitdiffstats
path: root/src/imports/timedatesettings/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/timedatesettings/plugin.cpp')
-rw-r--r--src/imports/timedatesettings/plugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imports/timedatesettings/plugin.cpp b/src/imports/timedatesettings/plugin.cpp
index 9ebe945..0ddfed4 100644
--- a/src/imports/timedatesettings/plugin.cpp
+++ b/src/imports/timedatesettings/plugin.cpp
@@ -138,6 +138,9 @@
{TimeManager.timeZone}, when the user selects a time zone
from a list.
*/
+
+QT_BEGIN_NAMESPACE
+
template <typename T>
QObject *instance(QQmlEngine *engine, QJSEngine *) {
T *t = new T(engine);
@@ -158,4 +161,6 @@ public:
}
};
+QT_END_NAMESPACE
+
#include "plugin.moc"