From 435771058da9de1aee52726ffd92964f81bf17be Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 29 Jun 2020 16:38:52 +0000 Subject: [PATCH] remove redundant QPropertyAnimation::event() implementation shadowed by QVariantAnimation::event() reimplementation Signed-off-by: Ivailo Monev --- src/gui/animation/qpropertyanimation.cpp | 9 --------- src/gui/animation/qpropertyanimation.h | 1 - 2 files changed, 10 deletions(-) diff --git a/src/gui/animation/qpropertyanimation.cpp b/src/gui/animation/qpropertyanimation.cpp index fe785be6c..c47b968af 100644 --- a/src/gui/animation/qpropertyanimation.cpp +++ b/src/gui/animation/qpropertyanimation.cpp @@ -219,15 +219,6 @@ void QPropertyAnimation::setPropertyName(const QByteArray &propertyName) d->updateMetaProperty(); } - -/*! - \reimp - */ -bool QPropertyAnimation::event(QEvent *event) -{ - return QVariantAnimation::event(event); -} - /*! This virtual function is called by QVariantAnimation whenever the current value changes. \a value is the new, updated value. It updates the current value diff --git a/src/gui/animation/qpropertyanimation.h b/src/gui/animation/qpropertyanimation.h index 82e6c688a..d82b4fb05 100644 --- a/src/gui/animation/qpropertyanimation.h +++ b/src/gui/animation/qpropertyanimation.h @@ -61,7 +61,6 @@ public: void setPropertyName(const QByteArray &propertyName); protected: - bool event(QEvent *event); void updateCurrentValue(const QVariant &value); void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); -- 2.11.0