diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-22 09:12:04 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-05-22 09:12:04 +0200 |
commit | df82d8fadbd993a10e876a67e6d229dbaea13ff8 (patch) | |
tree | 72ffbc8263ab16d1a4ba87a117c511795028b2ec | |
parent | 851a77d5bb51a3a4786cb16bb75b2d2cfea51499 (diff) | |
download | MultiMC-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
-rw-r--r-- | MultiMC.cpp | 2 |
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)) { |