chore: add missing override in example

This commit is contained in:
shooting Star 2023-03-28 22:41:33 +08:00 committed by Vlad Zahorodnii
parent 49f31bb22d
commit 87753746b9

View file

@ -41,7 +41,7 @@ T stringToEnum(QMetaEnum metaEnum, const QString &str)
class BasicWindow : public QRasterWindow
{
void paintEvent(QPaintEvent *)
void paintEvent(QPaintEvent *) override
{
QPainter p(this);
p.fillRect(QRect(0, 0, width(), height()), Qt::red);