Use correct title on Java check during setup

This commit is contained in:
CreeperzEdge 2021-12-23 00:46:23 +11:00
parent 3dd6cea8da
commit 95c9a6d8f4

View File

@ -319,7 +319,7 @@ void JavaSettingsWidget::on_javaStatusBtn_clicked()
} }
CustomMessageBox::selectable( CustomMessageBox::selectable(
this, this,
failed ? QObject::tr("Java test success") : QObject::tr("Java test failure"), failed ? QObject::tr("Java test failure") : QObject::tr("Java test success"),
text, text,
failed ? QMessageBox::Critical : QMessageBox::Information failed ? QMessageBox::Critical : QMessageBox::Information
)->show(); )->show();