summaryrefslogtreecommitdiffstats
path: root/libinstance/src/instance.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-25 14:44:36 -0600
committerAndrew <forkk@forkk.net>2013-02-25 14:44:36 -0600
commit4ca35a760dfc53fd69f0f2030868ebeda250ed59 (patch)
tree1fa312da2d051676830e222b3959a100a2fa6e05 /libinstance/src/instance.cpp
parentb56b819c35843db0d135a5bbbee5fc9916bd06df (diff)
downloadMultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.gz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.lz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.xz
MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.zip
Fixed a lot of MSVC problems
Diffstat (limited to 'libinstance/src/instance.cpp')
-rw-r--r--libinstance/src/instance.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libinstance/src/instance.cpp b/libinstance/src/instance.cpp
index ac0eca24..85b43640 100644
--- a/libinstance/src/instance.cpp
+++ b/libinstance/src/instance.cpp
@@ -17,6 +17,8 @@
#include <QFileInfo>
+#include "settingsobject.h"
+
#include "pathutils.h"
Instance::Instance(const QString &rootDir, QObject *parent) :
@@ -104,3 +106,8 @@ void Instance::setField(const QString &name, QVariant val)
{
config.set(name, val);
}
+
+SettingsObject &Instance::settings()
+{
+ return *globalSettings;
+}