From d5cf53c8284de9b50e534ca47add8072d3f16d51 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 15 Nov 2009 05:11:58 +0000 Subject: [PATCH] revert back to not starting animation in mouseMoveEvent: it creates more glitches svn path=/trunk/KDE/kdebase/workspace/; revision=1049354 --- clients/oxygen/oxygenclient.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index d1a78e6693..cf6d11a071 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -1473,20 +1473,6 @@ namespace Oxygen // note: the pixmap is moved just above the pointer on purpose // because overlapping pixmap and pointer slows down the pixmap alot. drag->setHotSpot( QPoint( event->pos().x() - geometry.left(), -1 ) ); - - // must start animation immediatly rather than waiting for next drag-move or drag-leave evnet. - // however it depends on where the point is located. - if( itemData_[itemClicked].boundingRect_.contains( dragPoint_ ) ) - { - - itemData_.animate( AnimationTypes( AnimationMove|AnimationSameTarget ), sourceItem_ ); - - } else { - - itemData_.animate( AnimationTypes(AnimationLeave|AnimationSameTarget), sourceItem_ ); - - } - drag->exec( Qt::MoveAction );