NOISSUE Add pack author and description to technic modpack import page
This commit is contained in:
1 parent
6aa126be30
commit
f4d58e17ee
4 files changed
+43
-14
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user