summaryrefslogtreecommitdiffstats
path: root/logic/JavaUtils.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-06 22:00:47 +0100
committerSky <git@bunnies.cc>2013-10-06 22:05:16 +0100
commit8450807c06b3831dfb4279529e93db9444a9e612 (patch)
treeff1d0051118a41dfcc3e80fa76fdc40e37581402 /logic/JavaUtils.cpp
parent17c98655f86f8ea41c4528e3fc25d12388a36861 (diff)
downloadMultiMC-8450807c06b3831dfb4279529e93db9444a9e612.tar
MultiMC-8450807c06b3831dfb4279529e93db9444a9e612.tar.gz
MultiMC-8450807c06b3831dfb4279529e93db9444a9e612.tar.lz
MultiMC-8450807c06b3831dfb4279529e93db9444a9e612.tar.xz
MultiMC-8450807c06b3831dfb4279529e93db9444a9e612.zip
Fix non-Windows naming derp
Diffstat (limited to 'logic/JavaUtils.cpp')
-rw-r--r--logic/JavaUtils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/logic/JavaUtils.cpp b/logic/JavaUtils.cpp
index 91fa271c..5cec35b6 100644
--- a/logic/JavaUtils.cpp
+++ b/logic/JavaUtils.cpp
@@ -133,25 +133,25 @@ std::vector<java_install> JavaUtils::FindJavaPaths()
return javas;
}
#elif OSX
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#elif LINUX
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#else
-std::vector<java_install> JavaUtils::FindJavaPath()
+std::vector<java_install> JavaUtils::FindJavaPaths()
{
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
- return this->GetDefaultPath();
+ return this->GetDefaultJava();
}
#endif