summaryrefslogtreecommitdiffstats
path: root/logic/lists
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-03-23 19:07:13 +0100
committerPetr Mrázek <peterix@gmail.com>2014-03-23 19:07:13 +0100
commit4a24ea6c38015a1a1d937c85b9caedaf5ce251d8 (patch)
tree4c628e713593b2d3ec416fe1decdcb1b8cc14b87 /logic/lists
parenta01b1707deee6ee1a8e5102ad991368da3312259 (diff)
downloadMultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar
MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.gz
MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.lz
MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.xz
MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.zip
Make some more error messages translateable.
Diffstat (limited to 'logic/lists')
-rw-r--r--logic/lists/InstanceList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/lists/InstanceList.cpp b/logic/lists/InstanceList.cpp
index 9a61e2dd..34e6d87b 100644
--- a/logic/lists/InstanceList.cpp
+++ b/logic/lists/InstanceList.cpp
@@ -408,7 +408,7 @@ void InstanceList::loadFTBInstances(QMap<QString, QString> &groupMap,
QLOG_INFO() << "Loading existing " << record.name;
BaseInstance *instPtr = NULL;
auto error = InstanceFactory::get().loadInstance(instPtr, record.instanceDir);
- if (!instPtr || error != InstanceFactory::NoCreateError)
+ if (!instPtr || error != InstanceFactory::NoLoadError)
continue;
instPtr->setGroupInitial("FTB");
instPtr->setName(record.name);