Added patch to all setHtml calls

Signed-off-by: SabrePenguin <lknofczynski@gmail.com>
This commit is contained in:
SabrePenguin
2024-04-30 23:43:36 -04:00
parent e3d64608b9
commit b9c010ffb2
12 changed files with 33 additions and 18 deletions

View File

@ -39,6 +39,7 @@
#include "BuildConfig.h"
#include "Markdown.h"
#include "ui_AboutDialog.h"
#include "StringUtils.h"
#include <net/NetJob.h>
#include <qobject.h>
@ -139,10 +140,10 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDia
setWindowTitle(tr("About %1").arg(launcherName));
QString chtml = getCreditsHtml();
ui->creditsText->setHtml(chtml);
ui->creditsText->setHtml(StringUtils::htmlListPatch(chtml));
QString lhtml = getLicenseHtml();
ui->licenseText->setHtml(lhtml);
ui->licenseText->setHtml(StringUtils::htmlListPatch(lhtml));
ui->urlLabel->setOpenExternalLinks(true);