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:
Marco Martin 2012-03-01 22:51:13 +01:00
parent 7d6c7d740b
commit 94a074203a
2 changed files with 3 additions and 2 deletions

View File

@ -83,6 +83,7 @@ void PopupApplet::setPopupIcon(const QIcon &icon)
setAspectRatioMode(d->savedAspectRatio);
}
d->popupConstraintsEvent(FormFactorConstraint);
return;
}

View File

@ -132,8 +132,8 @@ private:
};
} // namespace Plasma
Q_DECLARE_METATYPE(Plasma::ServiceJob *)
using namespace Plasma;
Q_DECLARE_METATYPE(ServiceJob *)
#endif // multiple inclusion guard