chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
ce2ca13815
commit
1d468ac35a
594 changed files with 16040 additions and 16536 deletions
|
@ -15,8 +15,7 @@
|
|||
|
||||
#include "OverrideSetting.h"
|
||||
|
||||
OverrideSetting::OverrideSetting(std::shared_ptr<Setting> other, std::shared_ptr<Setting> gate)
|
||||
: Setting(other->configKeys(), QVariant())
|
||||
OverrideSetting::OverrideSetting(std::shared_ptr<Setting> other, std::shared_ptr<Setting> gate) : Setting(other->configKeys(), QVariant())
|
||||
{
|
||||
Q_ASSERT(other);
|
||||
Q_ASSERT(gate);
|
||||
|
@ -36,8 +35,7 @@ QVariant OverrideSetting::defValue() const
|
|||
|
||||
QVariant OverrideSetting::get() const
|
||||
{
|
||||
if(isOverriding())
|
||||
{
|
||||
if (isOverriding()) {
|
||||
return Setting::get();
|
||||
}
|
||||
return m_other->get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue