mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 13:03:55 -07:00
add override specifier to tab subclasses (#5445)
This commit is contained in:
parent
2b296badea
commit
2851d0c7e6
11 changed files with 43 additions and 43 deletions
|
|
@ -72,7 +72,7 @@ signals:
|
|||
void stateChanged();
|
||||
|
||||
public:
|
||||
ToggleButton(QWidget *parent = nullptr);
|
||||
explicit ToggleButton(QWidget *parent = nullptr);
|
||||
bool getState() const
|
||||
{
|
||||
return state;
|
||||
|
|
@ -80,7 +80,7 @@ public:
|
|||
void setState(bool _state);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
};
|
||||
|
||||
class DeckViewContainer : public QWidget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue