diff options
Diffstat (limited to 'data/appsettings.h')
-rw-r--r-- | data/appsettings.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/data/appsettings.h b/data/appsettings.h index a9068bfd..8a786db0 100644 --- a/data/appsettings.h +++ b/data/appsettings.h @@ -39,8 +39,6 @@ #define DEFINE_SETTING(name, valType, defVal) \ DEFINE_SETTING_ADVANCED(name, STR_VAL(name), valType, defVal) -#define DEFINE_OVERRIDE_SETTING(overrideName) \ - class SettingsBase : public QObject { @@ -91,7 +89,6 @@ public: DEFINE_SETTING(PreLaunchCommand, QString, "") DEFINE_SETTING(PostExitCommand, QString, "") -protected: virtual QVariant getValue(const QString& name, QVariant defVal = QVariant()) const = 0; virtual void setValue(const QString& name, QVariant val) = 0; }; @@ -104,10 +101,10 @@ public: QSettings& getConfig() { return config; } -protected: virtual QVariant getValue(const QString &name, QVariant defVal = QVariant()) const; virtual void setValue(const QString& name, QVariant val); - + +protected: QSettings config; }; |