summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 01:54:47 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 01:54:47 +0200
commite828e012eaf84e1da8b67b7b37ff8d2babfe4885 (patch)
treeaf08fa3ad750f9380ce58c96e529aaa6ce2c562a /src
parentFix dialog paths (diff)
downloadnheko-e828e012eaf84e1da8b67b7b37ff8d2babfe4885.tar.xz
Make theme visible to qml
Diffstat (limited to 'src')
-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)