From 77d5ea36ae096a212280d34b978f4cf0b030431f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 6 Oct 2013 03:20:19 +0200 Subject: [PATCH] Log java util stuff using the new logging method --- logic/JavaUtils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/logic/JavaUtils.cpp b/logic/JavaUtils.cpp index d89ab9c5..1cfd0a77 100644 --- a/logic/JavaUtils.cpp +++ b/logic/JavaUtils.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #if WINDOWS #include @@ -74,7 +74,7 @@ QStringList JavaUtils::FindJavaPath() if(paths.length() <= 0) { - qWarning() << "Failed to find Java in the Windows registry - defaulting to \"java\""; + QLOG_WARN() << "Failed to find Java in the Windows registry - defaulting to \"java\""; paths << "java"; } @@ -83,7 +83,7 @@ QStringList JavaUtils::FindJavaPath() #elif OSX QStringList JavaUtils::FindJavaPath() { - qWarning() << "OS X Java detection incomplete - defaulting to \"java\""; + QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\""; QStringList paths; paths << "java"; @@ -94,7 +94,7 @@ QStringList JavaUtils::FindJavaPath() #elif LINUX QStringList JavaUtils::FindJavaPath() { - qWarning() << "Linux Java detection incomplete - defaulting to \"java\""; + QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\""; QStringList paths; paths << "java"; @@ -104,7 +104,7 @@ QStringList JavaUtils::FindJavaPath() #else QStringList JavaUtils::FindJavaPath() { - qWarning() << "Unknown operating system build - defaulting to \"java\""; + QLOG_INFO() << "Unknown operating system build - defaulting to \"java\""; QStringList paths; paths << "java";