small changes of BusyIcon

This commit is contained in:
2024-11-10 21:29:32 +03:00
parent 8f969a1b41
commit 1becca7519
2 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ BusyIcon::~BusyIcon() {}
void BusyIcon::start() {
stop();
ang = 0;
timer = startTimer(25);
}

View File

@@ -33,9 +33,9 @@ public:
void setCircleWidth(qreal s);
private:
QSize sizeHint() const;
void timerEvent(QTimerEvent *);
void paintEvent(QPaintEvent *);
QSize sizeHint() const override;
void timerEvent(QTimerEvent *) override;
void paintEvent(QPaintEvent *) override;
QIcon icon_;
QImage image;