diff --git a/popupapplet.cpp b/popupapplet.cpp index 329d5d7d7..16346b2ce 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -237,7 +237,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints) (f == Plasma::Vertical || f == Plasma::Horizontal))) { QGraphicsLinearLayout *lay = dynamic_cast(q->layout()); - if (icon && !icon->icon().isNull() && lay && lay->count() > 0) { + if (icon && lay && lay->count() > 0) { lay->removeAt(0); }