Gui: [skip ci] for the author label use the same font configuration as with the rich text as otherwise the text appears very tiny

This commit is contained in:
wmayer
2021-03-02 17:23:41 +01:00
parent 0bc39982df
commit 2fe153118c

View File

@@ -488,6 +488,10 @@ void AboutDialog::setupLabels()
ui->labelAuthor->setText(author);
ui->labelAuthor->setUrl(mturl);
if (qApp->styleSheet().isEmpty()) {
ui->labelAuthor->setStyleSheet(QString::fromLatin1("Gui--UrlLabel {color: #0000FF;text-decoration: underline;font-weight: 600;font-family: MS Shell Dlg 2;}"));
}
QString version = ui->labelBuildVersion->text();
version.replace(QString::fromLatin1("Unknown"), QString::fromLatin1("%1.%2").arg(major, minor));
ui->labelBuildVersion->setText(version);