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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();