QDir::exists is not static in Qt 5.1.1

This commit is contained in:
Petr Mrázek 2014-05-22 09:12:04 +02:00
parent 851a77d5bb
commit df82d8fadb

View File

@ -374,7 +374,7 @@ void MultiMC::initGlobalSettings()
QLOG_INFO() << "Using new FTB path";
ftbDefault = PathCombine(QString::fromWCharArray(newBuf), "ftblauncher");
}
if (!QDir::exists(ftbDefault) || !QFile::exists(PathCombine(ftbDefault, "ftblaunch.cfg")))
if (!QFile::exists(PathCombine(ftbDefault, "ftblaunch.cfg")))
{
if (!GetEnvironmentVariableW(L"APPDATA", buf, APPDATA_BUFFER_SIZE))
{