From 1de24334c8089823c2c5dba8ac2e7e58cfe2fcc7 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 29 Jun 2008 00:27:04 +0000 Subject: [PATCH] copy/paste error, caught by the ChaniReview svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825692 --- applethandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applethandle.cpp b/applethandle.cpp index b23f52d29..ec81d69a9 100644 --- a/applethandle.cpp +++ b/applethandle.cpp @@ -632,7 +632,7 @@ void AppletHandle::mouseMoveEvent(QGraphicsSceneMouseEvent *event) //pos relative to scene void AppletHandle::switchContainment(Containment *containment, const QPointF &pos) { - switch (containment->containmentType() != Containment::PanelContainment) { + if (containment->containmentType() != Containment::PanelContainment) { //FIXME assuming everything else behaves like desktop? kDebug() << "desktop"; m_containment = containment;