aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/ftb
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-10-19 14:28:29 +0200
committerGitHub <noreply@github.com>2022-10-19 14:28:29 +0200
commit4e08f282469071074f390d2767184560a4ece6bd (patch)
tree073c82787221001f3e04cb734cd05b6148911f44 /launcher/ui/pages/modplatform/ftb
parent46c57e120f50084b310879286a2774334b53d2af (diff)
parentfda3f1352e203bc119f092e30b25356345342c18 (diff)
downloadPrismLauncher-4e08f282469071074f390d2767184560a4ece6bd.tar.gz
PrismLauncher-4e08f282469071074f390d2767184560a4ece6bd.tar.bz2
PrismLauncher-4e08f282469071074f390d2767184560a4ece6bd.zip
Merge pull request #31 from flowln/who_needs_webview
Diffstat (limited to 'launcher/ui/pages/modplatform/ftb')
-rw-r--r--launcher/ui/pages/modplatform/ftb/FtbPage.cpp2
-rw-r--r--launcher/ui/pages/modplatform/ftb/FtbPage.ui9
2 files changed, 10 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/ftb/FtbPage.cpp b/launcher/ui/pages/modplatform/ftb/FtbPage.cpp
index 34a3d1c0..b08f3bc4 100644
--- a/launcher/ui/pages/modplatform/ftb/FtbPage.cpp
+++ b/launcher/ui/pages/modplatform/ftb/FtbPage.cpp
@@ -73,6 +73,8 @@ FtbPage::FtbPage(NewInstanceDialog* dialog, QWidget *parent)
connect(ui->sortByBox, &QComboBox::currentTextChanged, this, &FtbPage::onSortingSelectionChanged);
connect(ui->packView->selectionModel(), &QItemSelectionModel::currentChanged, this, &FtbPage::onSelectionChanged);
connect(ui->versionSelectionBox, &QComboBox::currentTextChanged, this, &FtbPage::onVersionSelectionChanged);
+
+ ui->packDescription->setMetaEntry("FTBPacks");
}
FtbPage::~FtbPage()
diff --git a/launcher/ui/pages/modplatform/ftb/FtbPage.ui b/launcher/ui/pages/modplatform/ftb/FtbPage.ui
index 850bf091..8de0f4e6 100644
--- a/launcher/ui/pages/modplatform/ftb/FtbPage.ui
+++ b/launcher/ui/pages/modplatform/ftb/FtbPage.ui
@@ -57,7 +57,7 @@
</widget>
</item>
<item row="0" column="1">
- <widget class="QTextBrowser" name="packDescription">
+ <widget class="ProjectDescriptionPage" name="packDescription">
<property name="openExternalLinks">
<bool>true</bool>
</property>
@@ -70,6 +70,13 @@
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>ProjectDescriptionPage</class>
+ <extends>QTextBrowser</extends>
+ <header>ui/widgets/ProjectDescriptionPage.h</header>
+ </customwidget>
+ </customwidgets>
<tabstops>
<tabstop>searchEdit</tabstop>
<tabstop>versionSelectionBox</tabstop>