From 8450807c06b3831dfb4279529e93db9444a9e612 Mon Sep 17 00:00:00 2001 From: Sky Date: Sun, 6 Oct 2013 22:00:47 +0100 Subject: Fix non-Windows naming derp --- logic/JavaUtils.cpp | 12 ++++++------ 1 file 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 JavaUtils::FindJavaPaths() return javas; } #elif OSX -std::vector JavaUtils::FindJavaPath() +std::vector JavaUtils::FindJavaPaths() { QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\""; - return this->GetDefaultPath(); + return this->GetDefaultJava(); } #elif LINUX -std::vector JavaUtils::FindJavaPath() +std::vector JavaUtils::FindJavaPaths() { QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\""; - return this->GetDefaultPath(); + return this->GetDefaultJava(); } #else -std::vector JavaUtils::FindJavaPath() +std::vector JavaUtils::FindJavaPaths() { QLOG_INFO() << "Unknown operating system build - defaulting to \"java\""; - return this->GetDefaultPath(); + return this->GetDefaultJava(); } #endif -- cgit v1.2.3