| 36 | } |
| 37 | |
| 38 | void JavaCommon::javaArgsWereBad(QWidget *parent, JavaCheckResult result) |
| 39 | { |
| 40 | auto htmlError = result.errorLog; |
| 41 | QString text; |
| 42 | htmlError.replace('\n', "<br />"); |
| 43 | text += QObject::tr("The specified java binary didn't work with the arguments you provided:<br />"); |
| 44 | text += QString("<font color=\"red\">%1</font>").arg(htmlError); |
| 45 | CustomMessageBox::selectable(parent, QObject::tr("Java test failure"), text, QMessageBox::Warning)->show(); |
| 46 | } |
| 47 | |
| 48 | void JavaCommon::javaBinaryWasBad(QWidget *parent, JavaCheckResult result) |
| 49 | { |
nothing calls this directly
no test coverage detected