SVN_SILENT: some ws fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841831
This commit is contained in:
parent
2e070a1307
commit
684a1b4e4e
@ -1082,8 +1082,10 @@ bool Applet::sceneEventFilter( QGraphicsItem * watched, QEvent * event )
|
||||
{
|
||||
switch (event->type()) {
|
||||
case QEvent::GraphicsSceneMouseMove: {
|
||||
//don't move when the containment is not mutable, in the rare case the containment doesn't exists consider it as mutable
|
||||
if ((!containment() || containment()->immutability() == Mutable) && d->registeredAsDragHandle.contains( watched )) {
|
||||
// don't move when the containment is not mutable,
|
||||
// in the rare case the containment doesn't exists consider it as mutable
|
||||
if ((!containment() || containment()->immutability() == Mutable) &&
|
||||
d->registeredAsDragHandle.contains(watched)) {
|
||||
mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user