small changes of BusyIcon
This commit is contained in:
@@ -15,7 +15,6 @@ BusyIcon::~BusyIcon() {}
|
||||
|
||||
void BusyIcon::start() {
|
||||
stop();
|
||||
ang = 0;
|
||||
timer = startTimer(25);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user