Fix banner widget buddy being uninitialized.

This commit is contained in:
Lukas Brübach 2025-03-03 13:28:10 +01:00
parent e1964f21de
commit 7894af1733

View file

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