diff options
author | timoreo22 <timo.oreo34@gmail.com> | 2022-05-28 21:53:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 21:53:12 +0200 |
commit | 699ad316f0d90580fa13d570d6c25aff903a470d (patch) | |
tree | babd9f2ac493e4f47882ca36c5c08c563d697f91 /launcher/ui/dialogs/ScrollMessageBox.cpp | |
parent | fcbe233fdb79214479820eb8f0489351143b4036 (diff) | |
download | PrismLauncher-699ad316f0d90580fa13d570d6c25aff903a470d.tar.gz PrismLauncher-699ad316f0d90580fa13d570d6c25aff903a470d.tar.bz2 PrismLauncher-699ad316f0d90580fa13d570d6c25aff903a470d.zip |
Rework curseforge download (#611)
* Use the bulk endpoint on mod resolution for faster download
* Search on modrinth for api blocked mods
* Display a dialog for manually downloading blocked mods
Diffstat (limited to 'launcher/ui/dialogs/ScrollMessageBox.cpp')
-rw-r--r-- | launcher/ui/dialogs/ScrollMessageBox.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/launcher/ui/dialogs/ScrollMessageBox.cpp b/launcher/ui/dialogs/ScrollMessageBox.cpp new file mode 100644 index 00000000..afdc4bae --- /dev/null +++ b/launcher/ui/dialogs/ScrollMessageBox.cpp @@ -0,0 +1,15 @@ +#include "ScrollMessageBox.h" +#include "ui_ScrollMessageBox.h" + + +ScrollMessageBox::ScrollMessageBox(QWidget *parent, const QString &title, const QString &text, const QString &body) : + QDialog(parent), ui(new Ui::ScrollMessageBox) { + ui->setupUi(this); + this->setWindowTitle(title); + ui->label->setText(text); + ui->textBrowser->setText(body); +} + +ScrollMessageBox::~ScrollMessageBox() { + delete ui; +} |