diff options
author | kb1000 <kaeptmblaubaer1000@gmail.com> | 2020-11-02 22:28:07 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-11-30 00:31:27 +0100 |
commit | f4d58e17eeb5bd608766acfebe425925d40d5825 (patch) | |
tree | 8a8de18bf5814d670d23117443d2067398e360ca /application/widgets | |
parent | 6aa126be3014b231651cb6ca55e9efee2168c29d (diff) | |
download | PrismLauncher-f4d58e17eeb5bd608766acfebe425925d40d5825.tar.gz PrismLauncher-f4d58e17eeb5bd608766acfebe425925d40d5825.tar.bz2 PrismLauncher-f4d58e17eeb5bd608766acfebe425925d40d5825.zip |
NOISSUE Add pack author and description to technic modpack import page
Diffstat (limited to 'application/widgets')
-rw-r--r-- | application/widgets/MCModInfoFrame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/widgets/MCModInfoFrame.cpp b/application/widgets/MCModInfoFrame.cpp index 577b32a7..89bb90fd 100644 --- a/application/widgets/MCModInfoFrame.cpp +++ b/application/widgets/MCModInfoFrame.cpp @@ -135,6 +135,7 @@ void MCModInfoFrame::setModDescription(QString text) ui->label_ModDescription->setOpenExternalLinks(false); ui->label_ModDescription->setTextFormat(Qt::TextFormat::RichText); desc = text; + // This allows injecting HTML here. labeltext.append("<html><body>" + finaltext.left(287) + "<a href=\"#mod_desc\">...</a></body></html>"); QObject::connect(ui->label_ModDescription, &QLabel::linkActivated, this, &MCModInfoFrame::modDescEllipsisHandler); } |