summaryrefslogtreecommitdiffstats
path: root/logic/launch/steps/CheckJava.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/launch/steps/CheckJava.cpp')
-rw-r--r--logic/launch/steps/CheckJava.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/launch/steps/CheckJava.cpp b/logic/launch/steps/CheckJava.cpp
index 7482624f..66f7cc2b 100644
--- a/logic/launch/steps/CheckJava.cpp
+++ b/logic/launch/steps/CheckJava.cpp
@@ -15,7 +15,7 @@
#include "CheckJava.h"
#include <launch/LaunchTask.h>
-#include <pathutils.h>
+#include <FileSystem.h>
#include <QStandardPaths>
#include <QFileInfo>
@@ -23,7 +23,7 @@ void CheckJava::executeTask()
{
auto instance = m_parent->instance();
auto settings = instance->settings();
- m_javaPath = ResolveExecutable(settings->get("JavaPath").toString());
+ m_javaPath = FS::ResolveExecutable(settings->get("JavaPath").toString());
bool perInstance = settings->get("OverrideJava").toBool() || settings->get("OverrideJavaLocation").toBool();
auto realJavaPath = QStandardPaths::findExecutable(m_javaPath);