From b77eb4b9050f7040f869306d17c5403a24f060a4 Mon Sep 17 00:00:00 2001 From: ycwan9 Date: Sat, 7 Oct 2023 09:34:59 +0000 Subject: [PATCH] Fix QT-based system theme detection --- src/gui/osutils/nixutils/NixUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/osutils/nixutils/NixUtils.h b/src/gui/osutils/nixutils/NixUtils.h index 04cd08628..571af1a3a 100644 --- a/src/gui/osutils/nixutils/NixUtils.h +++ b/src/gui/osutils/nixutils/NixUtils.h @@ -82,7 +82,7 @@ private: PreferLight }; ColorschemePref m_systemColorschemePref = ColorschemePref::PreferNone; - bool m_systemColorschemePrefExists; + bool m_systemColorschemePrefExists = false; void setColorScheme(QDBusVariant value);