src/corelib/animation/qabstractanimation.cpp
changeset 18 2f34d5167611
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     8 **
     8 **
   297 {
   297 {
   298     if (QAbstractAnimationPrivate::get(animation)->isGroup)
   298     if (QAbstractAnimationPrivate::get(animation)->isGroup)
   299         return;
   299         return;
   300 
   300 
   301     if (QAbstractAnimationPrivate::get(animation)->isPause) {
   301     if (QAbstractAnimationPrivate::get(animation)->isPause) {
   302         if (animation->duration() == -1)
       
   303             qDebug() << "toto";
       
   304         runningPauseAnimations << animation;
   302         runningPauseAnimations << animation;
   305     } else
   303     } else
   306         runningLeafAnimations++;
   304         runningLeafAnimations++;
   307 }
   305 }
   308 
   306