first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab

svn path=/trunk/KDE/kdebase/workspace/; revision=1049359
This commit is contained in:
Hugo Pereira Da Costa 2009-11-15 06:32:34 +00:00
parent 51374ce5db
commit 592606b79c

View file

@ -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_ );
}
}