if the icon changes do a popupConstraintsEvent
the decision always collapsed or not could have changed (if the icon becomes valid or isn't valid anymore)
This commit is contained in:
parent
7d6c7d740b
commit
94a074203a
@ -83,6 +83,7 @@ void PopupApplet::setPopupIcon(const QIcon &icon)
|
||||
setAspectRatioMode(d->savedAspectRatio);
|
||||
}
|
||||
|
||||
d->popupConstraintsEvent(FormFactorConstraint);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -132,8 +132,8 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Plasma
|
||||
|
||||
Q_DECLARE_METATYPE(Plasma::ServiceJob *)
|
||||
using namespace Plasma;
|
||||
Q_DECLARE_METATYPE(ServiceJob *)
|
||||
|
||||
#endif // multiple inclusion guard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user