From df82d8fadbd993a10e876a67e6d229dbaea13ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 22 May 2014 09:12:04 +0200 Subject: [PATCH] QDir::exists is not static in Qt 5.1.1 --- MultiMC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiMC.cpp b/MultiMC.cpp index 84599f85..3fc4d06a 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -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)) {