diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-27 23:57:09 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-27 23:57:09 +0200 |
commit | e4c33458f2f752c0b8f20005b5ab645e758d58cc (patch) | |
tree | 17d1dcbf5643e37c2298977e7f503848127abfc6 /api/logic/BaseInstance.h | |
parent | 14f85813c82f9202d39e292965b1ab710a479d4e (diff) | |
download | MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.gz MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.lz MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.xz MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.zip |
GH-2352 Add Minecraft folder button for instances, rearrange buttons by importance
Diffstat (limited to 'api/logic/BaseInstance.h')
-rw-r--r-- | api/logic/BaseInstance.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/logic/BaseInstance.h b/api/logic/BaseInstance.h index f3b15a20..a7004701 100644 --- a/api/logic/BaseInstance.h +++ b/api/logic/BaseInstance.h @@ -102,6 +102,12 @@ public: /// Path to the instance's root directory. QString instanceRoot() const; + /// Path to the instance's game root directory. + virtual QString gameRoot() const + { + return instanceRoot(); + } + QString name() const; void setName(QString val); |