diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-02-23 00:56:17 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-02-23 00:56:17 +0100 |
commit | 4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800 (patch) | |
tree | 5512c3a0295cc3f047356295d784ef1ad87f920e | |
parent | 3a173648e789f30b2843241ee38e694d16e10358 (diff) | |
download | MultiMC-4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800.tar MultiMC-4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800.tar.gz MultiMC-4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800.tar.lz MultiMC-4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800.tar.xz MultiMC-4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800.zip |
*Full* folder name is the instance ID, not just the first part.
-rw-r--r-- | libinstance/src/instance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstance/src/instance.cpp b/libinstance/src/instance.cpp index c10286b6..eb9fdff5 100644 --- a/libinstance/src/instance.cpp +++ b/libinstance/src/instance.cpp @@ -28,7 +28,7 @@ Instance::Instance(const QString &rootDir, QObject *parent) : QString Instance::id() const { - return QFileInfo(rootDir()).baseName(); + return QFileInfo(rootDir()).fileName(); } QString Instance::rootDir() const |