mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
QDir::exists is not static in Qt 5.1.1
This commit is contained in:
parent
851a77d5bb
commit
df82d8fadb
@ -374,7 +374,7 @@ void MultiMC::initGlobalSettings()
|
|||||||
QLOG_INFO() << "Using new FTB path";
|
QLOG_INFO() << "Using new FTB path";
|
||||||
ftbDefault = PathCombine(QString::fromWCharArray(newBuf), "ftblauncher");
|
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))
|
if (!GetEnvironmentVariableW(L"APPDATA", buf, APPDATA_BUFFER_SIZE))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user