OverlayManager: fix unititialized hideTab variable

The hideTab is of type bool, which is primitive type and is thus unitialized if new
instance of the class is created. The exception would be to for static
instance of the class, but that is not the case (only the pointer to the instance is static).

It was originaly initialized, but the initialization was removed in
8cf94c1aba1.
This commit is contained in:
Jiří Pinkava
2024-09-06 18:21:29 +02:00
committed by Chris Hennes
parent fb509154ab
commit ea6a0943cc

View File

@@ -136,7 +136,7 @@ public:
ParameterGrp::handle handle;
QString activeStyleSheet;
bool hideTab;
bool hideTab = false;
private:
QString detectOverlayStyleSheetFileName() const {