summaryrefslogtreecommitdiffstats
path: root/api/logic/settings/PassthroughSetting.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/settings/PassthroughSetting.h')
-rw-r--r--api/logic/settings/PassthroughSetting.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/api/logic/settings/PassthroughSetting.h b/api/logic/settings/PassthroughSetting.h
index ee844da4..00212072 100644
--- a/api/logic/settings/PassthroughSetting.h
+++ b/api/logic/settings/PassthroughSetting.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2018 MultiMC Contributors
+/* Copyright 2013-2019 MultiMC Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,19 +27,19 @@
*/
class PassthroughSetting : public Setting
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit PassthroughSetting(std::shared_ptr<Setting> overriden, std::shared_ptr<Setting> gate);
+ explicit PassthroughSetting(std::shared_ptr<Setting> overriden, std::shared_ptr<Setting> gate);
- virtual QVariant defValue() const;
- virtual QVariant get() const;
- virtual void set (QVariant value);
- virtual void reset();
+ virtual QVariant defValue() const;
+ virtual QVariant get() const;
+ virtual void set (QVariant value);
+ virtual void reset();
private:
- bool isOverriding() const;
+ bool isOverriding() const;
protected:
- std::shared_ptr<Setting> m_other;
- std::shared_ptr<Setting> m_gate;
+ std::shared_ptr<Setting> m_other;
+ std::shared_ptr<Setting> m_gate;
};