| 47 | } |
| 48 | |
| 49 | void JavaCommon::javaArgsWereBad(QWidget *parent, JavaCheckResult result) |
| 50 | { |
| 51 | auto htmlError = result.errorLog; |
| 52 | QString text; |
| 53 | htmlError.replace('\n', "<br />"); |
| 54 | text += QObject::tr("The specified java binary didn't work with the arguments you provided:<br />"); |
| 55 | text += QString("<font color=\"red\">%1</font>").arg(htmlError); |
| 56 | CustomMessageBox::selectable(parent, QObject::tr("Java test failure"), text, QMessageBox::Warning)->show(); |
| 57 | } |
| 58 | |
| 59 | void JavaCommon::javaBinaryWasBad(QWidget *parent, JavaCheckResult result) |
| 60 | { |
nothing calls this directly
no test coverage detected