we should only muck with the minimum sizes of the popup applet when iconified if it is actually using an icon; otherwise we leave it up to the applet itself to do this properly as it normally would have to
CCBUG:226391 svn path=/branches/KDE/4.4/kdelibs/; revision=1088931
This commit is contained in:
parent
60439c0ae5
commit
0d7b5e88d8
@ -358,7 +358,10 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
//emulate the same kind of behavior as Qt::Popup (close when you click somewhere
|
||||
//else.
|
||||
|
||||
if (icon) {
|
||||
q->setMinimumSize(QSize(0, 0));
|
||||
}
|
||||
|
||||
if (gWidget) {
|
||||
Corona *corona = qobject_cast<Corona *>(gWidget->scene());
|
||||
|
||||
@ -392,9 +395,11 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
lay->addItem(icon);
|
||||
}
|
||||
|
||||
if (icon) {
|
||||
q->setMinimumSize(0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (constraints & Plasma::PopupConstraint) {
|
||||
updateDialogPosition();
|
||||
|
Loading…
x
Reference in New Issue
Block a user