summaryrefslogtreecommitdiffstats
path: root/api/logic/NullInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-03 18:36:28 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-03 18:36:28 +0100
commit95e6f37d3942d4ab681e2f2484f17bbf8489c332 (patch)
tree98cc9231f0d1f2c5c935108aa075c7f0a0b65e7a /api/logic/NullInstance.h
parente0bea1e46a8086b098248ec506b71e5f4512c70f (diff)
downloadMultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.gz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.lz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.xz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.zip
NOISSUE force saving of any outstanding instance component state on exit
Diffstat (limited to 'api/logic/NullInstance.h')
-rw-r--r--api/logic/NullInstance.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/api/logic/NullInstance.h b/api/logic/NullInstance.h
index 27a8a251..64965277 100644
--- a/api/logic/NullInstance.h
+++ b/api/logic/NullInstance.h
@@ -12,7 +12,10 @@ public:
virtual ~NullInstance() {};
virtual void init() override
{
- };
+ }
+ virtual void saveNow() override
+ {
+ }
virtual QString getStatusbarDescription() override
{
return tr("Unknown instance type");