From 49874ae140b6734a1945932d402c5ffeac629428 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 25 Oct 2007 09:12:15 +0000 Subject: [PATCH] temporary fix for the beta: don't make items unmovable when added to a layout as that is screwing with MouseReleaseEvents. this means panels items are, once again, freely draggable (which is wrong) but on the upside you can open the menu again svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729202 --- widgets/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/widget.cpp b/widgets/widget.cpp index 9f73dcffe..733c76b94 100644 --- a/widgets/widget.cpp +++ b/widgets/widget.cpp @@ -441,10 +441,10 @@ void Widget::managingLayoutChanged() if (managingLayout()) { d->wasMovable = flags() & ItemIsMovable; if (!dynamic_cast(managingLayout())) { - setFlag(ItemIsMovable, false); +// setFlag(ItemIsMovable, false); } } else { - setFlag(ItemIsMovable, d->wasMovable); +// setFlag(ItemIsMovable, d->wasMovable); } }