From 592606b79c29c879c895d6212e273f79cd9c2552 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 15 Nov 2009 06:32:34 +0000 Subject: [PATCH] first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab svn path=/trunk/KDE/kdebase/workspace/; revision=1049359 --- clients/oxygen/oxygenclient.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index c6d16ad6f7..3a9e41be69 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -1627,7 +1627,10 @@ namespace Oxygen // do nothing if there is only one tab if( itemData_.count() > 1 ) - { itemData_.animate( AnimationTypes( AnimationLeave|AnimationSameTarget ), sourceItem_ ); } + { + itemData_.animate( AnimationTypes( AnimationMove|AnimationSameTarget ), sourceItem_ ); + itemData_.animate( AnimationTypes( AnimationLeave|AnimationSameTarget ), sourceItem_ ); + } }