summaryrefslogtreecommitdiffstats
path: root/data/appsettings.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-14 22:40:00 -0600
committerAndrew <forkk@forkk.net>2013-02-14 22:40:00 -0600
commit4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06 (patch)
tree152b4274af09dace56ad4448963eb8647678b273 /data/appsettings.h
parentfe452e3ac96699d51d47ecdc43c58778b512d72a (diff)
downloadMultiMC-4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06.tar
MultiMC-4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06.tar.gz
MultiMC-4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06.tar.lz
MultiMC-4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06.tar.xz
MultiMC-4b1680f2428f33dc8ecbf3f4f4b964b0a02e7e06.zip
Started reworking the instance system.
Diffstat (limited to 'data/appsettings.h')
-rw-r--r--data/appsettings.h7
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;
};