Use override

This commit is contained in:
Jonas Kvinge
2020-06-15 21:55:05 +02:00
parent 72ede666d4
commit 651020388d
271 changed files with 1199 additions and 1231 deletions

View File

@@ -40,14 +40,14 @@ class BusyIndicator : public QWidget {
public:
explicit BusyIndicator(const QString &text, QWidget *parent = nullptr);
explicit BusyIndicator(QWidget *parent = nullptr);
~BusyIndicator();
~BusyIndicator() override;
QString text() const;
void set_text(const QString &text);
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
void showEvent(QShowEvent *event) override;
void hideEvent(QHideEvent *event) override;
private:
void Init(const QString &text);