MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / javaArgsWereBad

Method javaArgsWereBad

launcher/JavaCommon.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void JavaCommon::javaArgsWereBad(QWidget* parent, const JavaChecker::Result& result)
83{
84 auto htmlError = result.errorLog;
85 QString text;
86 htmlError.replace('\n', "<br />");
87 text += QObject::tr("The specified Java binary didn't work with the arguments you provided:<br />");
88 text += QString("<font color=\"red\">%1</font>").arg(htmlError);
89 CustomMessageBox::selectable(parent, QObject::tr("Java test failure"), text, QMessageBox::Warning)->show();
90}
91
92void JavaCommon::javaBinaryWasBad(QWidget* parent, const JavaChecker::Result& result)
93{

Callers

nothing calls this directly

Calls 4

QStringClass · 0.85
selectableFunction · 0.85
showMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected