cleanup: msgbox msg editor
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
bd1ea64d02
commit
eb079c8060
@ -1071,7 +1071,7 @@ void MainWindow::processURLs(QList<QUrl> urls)
|
|||||||
dl_url = QUrl(Json::ensureString(Json::ensureObject(Json::ensureObject(doc.object()), "data"), "downloadUrl",
|
dl_url = QUrl(Json::ensureString(Json::ensureObject(Json::ensureObject(doc.object()), "data"), "downloadUrl",
|
||||||
"", "downloadUrl"));
|
"", "downloadUrl"));
|
||||||
if (!dl_url.isValid()) {
|
if (!dl_url.isValid()) {
|
||||||
CustomMessageBox::selectable(this, tr("Error"), tr("The modpack, mod, or resource is blocked ! Please download it manually \n%1").arg(dl_url.toDisplayString()),
|
CustomMessageBox::selectable(this, tr("Error"), tr("The modpack, mod, or resource is blocked for third-parties! Please download it manually at: \n%1").arg(dl_url.toDisplayString()),
|
||||||
QMessageBox::Critical)
|
QMessageBox::Critical)
|
||||||
->show();
|
->show();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user