diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-11-17 11:46:14 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-11-17 11:46:14 -0700 |
commit | 52d43f843bceb861c92f8989a27194436924e087 (patch) | |
tree | ddfff837c1ae6c496b9addc279e9c283fe633d40 /launcher/ui | |
parent | 25b306b7e1c83ecdeb135c8100c3089d9147cde7 (diff) | |
download | PrismLauncher-52d43f843bceb861c92f8989a27194436924e087.tar.gz PrismLauncher-52d43f843bceb861c92f8989a27194436924e087.tar.bz2 PrismLauncher-52d43f843bceb861c92f8989a27194436924e087.zip |
feat(BlockModsDialog): remove redundant Ui info
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui')
-rw-r--r-- | launcher/ui/dialogs/BlockedModsDialog.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/launcher/ui/dialogs/BlockedModsDialog.cpp b/launcher/ui/dialogs/BlockedModsDialog.cpp index a0dd1a10..edb4ff7d 100644 --- a/launcher/ui/dialogs/BlockedModsDialog.cpp +++ b/launcher/ui/dialogs/BlockedModsDialog.cpp @@ -38,12 +38,9 @@ BlockedModsDialog::BlockedModsDialog(QWidget* parent, const QString& title, cons QString(tr("Your configured global mods folder and default downloads folder " "are automatically checked for the downloaded mods and they will be copied to the instance if found.<br/>" "Optionally, you may drag and drop the downloaded mods onto this dialog or add a folder to watch " - "if you did not download the mods to a default location.<br/><br/>" - "Global Mods Folder: <a href=\"%1\">%1</a><br/>" - "Default Downloads Folder: <a href=\"%2\">%2</a>")) + "if you did not download the mods to a default location.")) .arg(APPLICATION->settings()->get("CentralModsDir").toString(), QStandardPaths::writableLocation(QStandardPaths::DownloadLocation))); - ui->labelModsFound->setText(tr("Please download the missing mods.")); // force all URL handeling as external connect(ui->textBrowserWatched, &QTextBrowser::anchorClicked, this, [](const QUrl url) { QDesktopServices::openUrl(url); }); @@ -127,7 +124,7 @@ void BlockedModsDialog::update() ui->textBrowserWatched->setText(watching); if (allModsMatched()) { - ui->labelModsFound->setText(tr("All mods found ✔")); + ui->labelModsFound->setText("<span style=\"color:green\">✔</span>" + tr("All mods found")); } else { ui->labelModsFound->setText(tr("Please download the missing mods.")); } |