summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ui/Theme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/Theme.h b/src/ui/Theme.h
index 0293bc28..d581ffe4 100644
--- a/src/ui/Theme.h
+++ b/src/ui/Theme.h
@@ -6,10 +6,13 @@
 
 #include <QColor>
 #include <QPalette>
+#include <QQmlEngine>
 
 class Theme final : public QPalette
 {
     Q_GADGET
+    QML_ANONYMOUS
+
     Q_PROPERTY(QColor sidebarBackground READ sidebarBackground CONSTANT)
     Q_PROPERTY(QColor alternateButton READ alternateButton CONSTANT)
     Q_PROPERTY(QColor separator READ separator CONSTANT)