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() { void BusyIcon::start() {
stop(); stop();
ang = 0;
timer = startTimer(25); timer = startTimer(25);
} }

View File

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