Commit 28ce1c5e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Mark TopLevel::changeGameboard as final

Makes clang-tidy happy, otherwise complains that we're calling a
virtual in the constructor and in case there was a class inheriting from
toplevel "the wrong" changeGameboard would be called
parent fc450179
...@@ -37,7 +37,7 @@ public: ...@@ -37,7 +37,7 @@ public:
bool isSoundEnabled() const override; bool isSoundEnabled() const override;
void changeGameboard(const QString &gameboard) override; void changeGameboard(const QString &gameboard) override final;
protected: protected:
void readOptions(QString &board, QString &language); void readOptions(QString &board, QString &language);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment