Make some more error messages translateable.

This commit is contained in:
Petr Mrázek
2014-03-23 19:07:13 +01:00
parent a01b1707de
commit 4a24ea6c38
10 changed files with 26 additions and 20 deletions

View File

@ -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);