Fix some warnings
Change-Id: I9460606cefd8c4b5c01e576043c1bc8660b19de4 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
5577cbaac5
commit
ce8f7e0ebd
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void paintEvent(QPaintEvent *)
|
||||
void paintEvent(QPaintEvent *) override
|
||||
{
|
||||
static int color = Qt::black;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue