remove OverrideJava
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
b23b53d98d
commit
abb628edb3
4 changed files with 12 additions and 23 deletions
|
@ -47,7 +47,7 @@ void CheckJava::executeTask()
|
|||
auto instance = m_parent->instance();
|
||||
auto settings = instance->settings();
|
||||
m_javaPath = FS::ResolveExecutable(settings->get("JavaPath").toString());
|
||||
bool perInstance = settings->get("OverrideJava").toBool() || settings->get("OverrideJavaLocation").toBool();
|
||||
bool perInstance = settings->get("OverrideJavaLocation").toBool();
|
||||
|
||||
auto realJavaPath = QStandardPaths::findExecutable(m_javaPath);
|
||||
if (realJavaPath.isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue