| 84 | } |
| 85 | |
| 86 | void JavaCommon::javaArgsWereBad(QWidget *parent, JavaCheckResult result) |
| 87 | { |
| 88 | auto htmlError = result.errorLog; |
| 89 | QString text; |
| 90 | htmlError.replace('\n', "<br />"); |
| 91 | text += QObject::tr("The specified Java binary didn't work with the arguments you provided:<br />"); |
| 92 | text += QString("<font color=\"red\">%1</font>").arg(htmlError); |
| 93 | CustomMessageBox::selectable(parent, QObject::tr("Java test failure"), text, QMessageBox::Warning)->show(); |
| 94 | } |
| 95 | |
| 96 | void JavaCommon::javaBinaryWasBad(QWidget *parent, JavaCheckResult result) |
| 97 | { |
nothing calls this directly
no test coverage detected