shush the compiler with Q_UNUSED

This commit is contained in:
Aaron Seigo 2011-06-05 14:29:08 +02:00
parent 4070c580a6
commit ddbd2a35ce
2 changed files with 5 additions and 0 deletions

View File

@ -166,6 +166,8 @@ void PixmapTransition::updateState(QAbstractAnimation::State newState, QAbstract
void PixmapTransition::updateEffectiveTime(int currentTime)
{
Q_UNUSED(currentTime)
m_dirty = true;
QGraphicsWidget *w = targetWidget();
if (w) {

View File

@ -72,6 +72,9 @@ void RotationAnimation::setAngle(const qreal &angle)
void RotationAnimation::updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
{
Q_UNUSED(newState)
Q_UNUSED(oldState)
QGraphicsWidget *m_object = targetWidget();
if (!m_object) {