mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 10:56:57 +03:00
Add optionCheckBox to ScrollMessageBox ui
Add 'Disable unavailable mods' option on check update failure Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
This commit is contained in:
parent
b070ffaf72
commit
55dc9e6a84
7 changed files with 63 additions and 14 deletions
13
launcher/ui/dialogs/UpdateCheckFailedDialog.cpp
Normal file
13
launcher/ui/dialogs/UpdateCheckFailedDialog.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue