Fix an issue spotted by SonarCloud

This commit is contained in:
Nikolaj Schlej 2023-02-11 21:12:01 -08:00
parent 944133caa7
commit 745f4b69f2

View file

@ -125,7 +125,7 @@ public:
UString data(const UModelIndex &index, int role) const; UString data(const UModelIndex &index, int role) const;
UString headerData(int section, int orientation, int role = 0) 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); rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), true, false);
} }