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:
committed by
Chris Hennes
parent
fb509154ab
commit
ea6a0943cc
@@ -136,7 +136,7 @@ public:
|
||||
|
||||
ParameterGrp::handle handle;
|
||||
QString activeStyleSheet;
|
||||
bool hideTab;
|
||||
bool hideTab = false;
|
||||
|
||||
private:
|
||||
QString detectOverlayStyleSheetFileName() const {
|
||||
|
||||
Reference in New Issue
Block a user