Fix non-Windows naming derp

This commit is contained in:
Sky 2013-10-06 22:00:47 +01:00
parent 17c98655f8
commit 8450807c06

View File

@ -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