mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
add override specifier to tab subclasses
This commit is contained in:
parent
7db9c9115e
commit
d5a8495379
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