summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-22 09:12:04 +0200
committerPetr Mrázek <peterix@gmail.com>2014-05-22 09:12:04 +0200
commitdf82d8fadbd993a10e876a67e6d229dbaea13ff8 (patch)
tree72ffbc8263ab16d1a4ba87a117c511795028b2ec /MultiMC.cpp
parent851a77d5bb51a3a4786cb16bb75b2d2cfea51499 (diff)
downloadMultiMC-df82d8fadbd993a10e876a67e6d229dbaea13ff8.tar
MultiMC-df82d8fadbd993a10e876a67e6d229dbaea13ff8.tar.gz
MultiMC-df82d8fadbd993a10e876a67e6d229dbaea13ff8.tar.lz
MultiMC-df82d8fadbd993a10e876a67e6d229dbaea13ff8.tar.xz
MultiMC-df82d8fadbd993a10e876a67e6d229dbaea13ff8.zip
QDir::exists is not static in Qt 5.1.1
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp2
1 files changed, 1 insertions, 1 deletions
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))
{