aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-09-10 18:49:00 -0300
committerflow <flowlnlnln@gmail.com>2022-10-08 14:11:20 -0300
commitdb158a5735e18442f76118f1f6a060e6c3680e33 (patch)
treed7b008e4e348578a23903abeb3ecc6505f30e866 /launcher/ui/pages/modplatform/modrinth
parentea3be17220697326d3e508fc8c77d4e9bfbcf59f (diff)
downloadPrismLauncher-db158a5735e18442f76118f1f6a060e6c3680e33.tar.gz
PrismLauncher-db158a5735e18442f76118f1f6a060e6c3680e33.tar.bz2
PrismLauncher-db158a5735e18442f76118f1f6a060e6c3680e33.zip
feat: add image support for mod pages
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthModPage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.cpp
index 5fa00b9b..62e417c8 100644
--- a/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.cpp
+++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.cpp
@@ -59,6 +59,8 @@ ModrinthModPage::ModrinthModPage(ModDownloadDialog* dialog, BaseInstance* instan
connect(ui->packView->selectionModel(), &QItemSelectionModel::currentChanged, this, &ModrinthModPage::onSelectionChanged);
connect(ui->versionSelectionBox, &QComboBox::currentTextChanged, this, &ModrinthModPage::onVersionSelectionChanged);
connect(ui->modSelectionButton, &QPushButton::clicked, this, &ModrinthModPage::onModSelected);
+
+ ui->packDescription->setMetaEntry(metaEntryBase());
}
auto ModrinthModPage::validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, ModAPI::ModLoaderTypes loaders) const -> bool