shush the compiler with Q_UNUSED
This commit is contained in:
parent
4070c580a6
commit
ddbd2a35ce
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user