More FTB debug stuff

This commit is contained in:
Jan Dalheimer 2014-05-23 16:16:44 +02:00
parent 94c2c363b2
commit b911a3834c

View File

@ -371,6 +371,7 @@ void MultiMC::initGlobalSettings()
} }
else else
{ {
QLOG_DEBUG() << "New FTB path from environment variable:" << QString::fromWCharArray(newBuf);
newFtbDefault = PathCombine(QString::fromWCharArray(newBuf), "ftblauncher"); newFtbDefault = PathCombine(QString::fromWCharArray(newBuf), "ftblauncher");
} }
if (!QFile::exists(PathCombine(newFtbDefault, "ftblaunch.cfg"))) if (!QFile::exists(PathCombine(newFtbDefault, "ftblaunch.cfg")))
@ -381,7 +382,6 @@ void MultiMC::initGlobalSettings()
} }
else else
{ {
QLOG_INFO() << "Using old FTB path, or no FTB detected";
oldFtbDefault = PathCombine(QString::fromWCharArray(buf), "ftblauncher"); oldFtbDefault = PathCombine(QString::fromWCharArray(buf), "ftblauncher");
if (QFile::exists(PathCombine(oldFtbDefault, "ftblaunch.cfg"))) if (QFile::exists(PathCombine(oldFtbDefault, "ftblaunch.cfg")))
{ {