add missing override and explicit specifiers to all classes in src/game (#5511)

This commit is contained in:
RickyRister 2025-01-22 04:57:56 -08:00 committed by GitHub
parent af161f00b7
commit 66e2e7a473
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 140 additions and 137 deletions

View file

@ -66,8 +66,8 @@ private slots:
void resizeToZoneContents();
void handleScrollBarChange(int value);
void zoneDeleted();
void moveEvent(QGraphicsSceneMoveEvent * /* event */);
void resizeEvent(QGraphicsSceneResizeEvent * /* event */);
void moveEvent(QGraphicsSceneMoveEvent * /* event */) override;
void resizeEvent(QGraphicsSceneResizeEvent * /* event */) override;
public:
ZoneViewWidget(Player *_player,
@ -88,8 +88,8 @@ public:
void retranslateUi();
protected:
void closeEvent(QCloseEvent *event);
void initStyleOption(QStyleOption *option) const;
void closeEvent(QCloseEvent *event) override;
void initStyleOption(QStyleOption *option) const override;
};
#endif