Fix banner widget buddy being uninitialized. (#5686)

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL
2025-03-03 14:38:27 +01:00
committed by GitHub
parent d8da4473e2
commit 15725c67c7

View File

@@ -31,7 +31,7 @@ private:
QLabel *bannerLabel;
Qt::Orientation gradientOrientation;
int transparency; // Transparency percentage for the gradient
QWidget *buddy;
QWidget *buddy = nullptr;
bool clickable = true;
signals:
void buddyVisibilityChanged();