From c10a4a54d9ae0a3d404a3801c996e8b93ff1cab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 4 May 2015 01:28:16 +0200 Subject: NOISSUE windows hates me --- application/JavaCommon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/JavaCommon.cpp') diff --git a/application/JavaCommon.cpp b/application/JavaCommon.cpp index d0a3cba3..2bec046a 100644 --- a/application/JavaCommon.cpp +++ b/application/JavaCommon.cpp @@ -27,9 +27,9 @@ void JavaCommon::TestCheck::javaWasOk(JavaCheckResult result) QString text; text += tr("Java test succeeded!
Platform reported: %1
Java version " "reported: %2
").arg(result.realPlatform, result.javaVersion); - if (result.stderr.size()) + if (result.errorLog.size()) { - auto htmlError = result.stderr; + auto htmlError = result.errorLog; htmlError.replace('\n', "
"); text += tr("
Warnings:
%1").arg(htmlError); } @@ -39,7 +39,7 @@ void JavaCommon::TestCheck::javaWasOk(JavaCheckResult result) void JavaCommon::TestCheck::javaArgsWereBad(JavaCheckResult result) { - auto htmlError = result.stderr; + auto htmlError = result.errorLog; QString text; htmlError.replace('\n', "
"); text += tr("The specified java binary didn't work with the arguments you provided:
"); -- cgit v1.2.3