summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/loggerwidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qml/loggerwidget.h b/tools/qml/loggerwidget.h
index 0623432..13c319f 100644
--- a/tools/qml/loggerwidget.h
+++ b/tools/qml/loggerwidget.h
@@ -45,7 +45,7 @@
#include <QMainWindow>
#include <QMetaType>
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE
class QPlainTextEdit;
class QMenu;
@@ -92,6 +92,8 @@ private:
Visibility m_visibility;
};
+QT_END_NAMESPACE
+
Q_DECLARE_METATYPE(LoggerWidget::Visibility)
#endif // LOGGERWIDGET_H