mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Add 'Disable unavailable mods' option on check update failure Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
13 lines
No EOL
556 B
C++
13 lines
No EOL
556 B
C++
#include "UpdateCheckFailedDialog.h"
|
|
#include "ui_ScrollMessageBox.h"
|
|
|
|
UpdateCheckFailedDialog::UpdateCheckFailedDialog(QWidget* parent, const QString& body)
|
|
: ScrollMessageBox(parent,
|
|
tr("Failed to check for updates"),
|
|
tr("Could not check or get the following resources for updates:<br>"
|
|
"Do you wish to proceed without those resources?"),
|
|
body)
|
|
{
|
|
ui->optionCheckBox->setVisible(true);
|
|
ui->optionCheckBox->setText(tr("Disable unavailable mods"));
|
|
} |