From 745f4b69f24578f1d60614a18866dd05645c68b1 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Sat, 11 Feb 2023 21:12:01 -0800 Subject: [PATCH] Fix an issue spotted by SonarCloud --- common/treemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/treemodel.h b/common/treemodel.h index dee5661..0d6b5ac 100644 --- a/common/treemodel.h +++ b/common/treemodel.h @@ -125,7 +125,7 @@ public: UString data(const UModelIndex &index, int role) const; UString headerData(int section, int orientation, int role = 0) const; - TreeModel() : markingEnabledFlag(false) { + TreeModel() : markingEnabledFlag(false), markingDarkModeFlag(false) { rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), true, false); }