summary refs log tree commit diff
path: root/src/ui/Theme.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-02 00:24:26 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 22:32:07 +0200
commitb518f6902e909b22e1623f96249a3ab1424ced59 (patch)
tree97fe4bdf0f2ffb1e35904c1d2111c6e566984d7c /src/ui/Theme.cpp
parentSelect Qt6 in cmake (diff)
downloadnheko-b518f6902e909b22e1623f96249a3ab1424ced59.tar.xz
Make Nheko compile on Qt6
Diffstat (limited to 'src/ui/Theme.cpp')
-rw-r--r--src/ui/Theme.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/Theme.cpp b/src/ui/Theme.cpp

index 48cb8bce..8cf38548 100644 --- a/src/ui/Theme.cpp +++ b/src/ui/Theme.cpp
@@ -4,12 +4,10 @@ #include "Theme.h" -Q_DECLARE_METATYPE(Theme) QPalette Theme::paletteFromTheme(QStringView theme) { - [[maybe_unused]] static auto meta = qRegisterMetaType<Theme>("Theme"); static QPalette original; if (theme == u"light") { static QPalette lightActive = [] {