diff --git a/applet.cpp b/applet.cpp index 0cd749593..b27e5b6e9 100644 --- a/applet.cpp +++ b/applet.cpp @@ -364,7 +364,6 @@ void Applet::setFailedToLaunch(bool failed, const QString &reason) d->failed = failed; prepareGeometryChange(); - foreach (QGraphicsItem *item, childItems()) { if (!dynamic_cast(item)) { delete item; diff --git a/containment.cpp b/containment.cpp index 476d6c79c..6e44484b9 100644 --- a/containment.cpp +++ b/containment.cpp @@ -358,7 +358,7 @@ void Containment::restore(KConfigGroup &group) //kDebug() << "setScreen from restore"; setScreen(group.readEntry("screen", d->screen), group.readEntry("desktop", d->desktop)); QString activityId = group.readEntry("activityId", QString()); - if (! activityId.isEmpty()) { + if (!activityId.isEmpty()) { setActivityId(activityId); } setActivity(group.readEntry("activity", QString()));