mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 21:42:37 +02:00
JobConfig::isEnabled() should be const
This commit is contained in:
parent
693e27716e
commit
fea39fbe03
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public:
|
|||
JobConfig() = default;
|
||||
JobConfig(bool enabled) : alwaysEnabled{ false }, enabled{ enabled } {}
|
||||
|
||||
bool isEnabled() { return alwaysEnabled || enabled; }
|
||||
bool isEnabled() const { return alwaysEnabled || enabled; }
|
||||
void setEnabled(bool enable) { enabled = alwaysEnabled || enable; emit dirtyEnabled(); }
|
||||
|
||||
bool alwaysEnabled{ true };
|
||||
|
|
Loading…
Reference in a new issue