Any PopupApplet that manages its appearance was failing if it happened to
use a layout. I guess my applet is the only one attempting to do so. ;) This code should perhaps be moved elsewhere? I can't tell what its purpose is from looking at the surrounding code - I just know that it shouldn't be removing items from my layout. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863216
This commit is contained in:
parent
22a1c819b3
commit
3ecd0da73e
@ -125,7 +125,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
|
||||
if (constraints & Plasma::FormFactorConstraint ||
|
||||
(constraints & Plasma::SizeConstraint && (f == Plasma::Vertical || f == Plasma::Horizontal))) {
|
||||
if (lay) {
|
||||
if (icon && lay) {
|
||||
lay->removeAt(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user