mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinQt/TASCheckBox: Mark GetValue() as const
This doesn't actually modify the checkbox's state, so this can be marked as a const-qualified member function.
This commit is contained in:
@ -14,7 +14,7 @@ class TASCheckBox : public QCheckBox
|
||||
public:
|
||||
explicit TASCheckBox(const QString& text);
|
||||
|
||||
bool GetValue();
|
||||
bool GetValue() const;
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent* event) override;
|
||||
|
Reference in New Issue
Block a user