leave geom updates to applets w/out icons
when an applet sets an empty icon, it's handling the main interface. PopupApplet emiting geom signals just runs the risk of poorly timed updates. this causes panel jitter with the system tray when it resizes
This commit is contained in:
parent
94792358f9
commit
1d473439a5
@ -431,7 +431,11 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
updateDialogPosition();
|
||||
}
|
||||
|
||||
emit q->sizeHintChanged(Qt::PreferredSize);
|
||||
if (icon) {
|
||||
// emit the size hint changing stuff for our applet as we are handling
|
||||
// the size changings
|
||||
emit q->sizeHintChanged(Qt::PreferredSize);
|
||||
}
|
||||
}
|
||||
|
||||
void PopupAppletPrivate::appletActivated()
|
||||
|
Loading…
Reference in New Issue
Block a user