diff --git a/logic/ftb/FTBPlugin.cpp b/logic/ftb/FTBPlugin.cpp index 201b5d3b7..8a08f9166 100644 --- a/logic/ftb/FTBPlugin.cpp +++ b/logic/ftb/FTBPlugin.cpp @@ -314,7 +314,7 @@ static QString getLocalCacheStorageLocation() " If you are on windows, this means your system is broken."; } #elif defined(Q_OS_MAC) - ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher"); + ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher"); #else ftbDefault = QDir::home().absoluteFilePath(".ftblauncher"); #endif @@ -337,7 +337,7 @@ static QString getRoamingStorageLocation() qCritical() << "Your APPDATA folder is missing! If you are on windows, this means your system is broken."; } #elif defined(Q_OS_MAC) - ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher"); + ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher"); #else ftbDefault = QDir::home().absoluteFilePath(".ftblauncher"); #endif diff --git a/logic/java/JavaUtils.cpp b/logic/java/JavaUtils.cpp index 80ded3ee8..7c3cc2a16 100644 --- a/logic/java/JavaUtils.cpp +++ b/logic/java/JavaUtils.cpp @@ -119,7 +119,7 @@ QList JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString javaVersion->id = subKeyName; javaVersion->arch = archType; javaVersion->path = - QDir(PathCombine(value, "bin")).absoluteFilePath("javaw.exe"); + QDir(FS::PathCombine(value, "bin")).absoluteFilePath("javaw.exe"); javas.append(javaVersion); }