Fix some warnings

Change-Id: I9460606cefd8c4b5c01e576043c1bc8660b19de4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
bb10
Andreas Buhr 2021-03-24 15:31:47 +01:00
parent 5577cbaac5
commit ce8f7e0ebd
2 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,8 @@ class DummyAnimation : public QVariantAnimation
public:
DummyAnimation(DummyObject *d);
void updateCurrentValue(const QVariant &value);
void updateState(State newstate, State oldstate);
void updateCurrentValue(const QVariant &value) override;
void updateState(State newstate, State oldstate) override;
private:
DummyObject *m_dummy;

View File

@ -81,7 +81,7 @@ public:
}
}
void paintEvent(QPaintEvent *)
void paintEvent(QPaintEvent *) override
{
static int color = Qt::black;