ui: fix corrupted display of non-ascii characters in about window (issue #1011) (#1013)

This commit is contained in:
Malte Langkabel
2020-05-15 11:59:50 +02:00
committed by GitHub
parent 89ee28351a
commit 66ea5a9be4
+3 -3
View File
@@ -69,7 +69,7 @@ void QtAbout::setupAbout()
windowLayout->addLayout(layoutHorz1); windowLayout->addLayout(layoutHorz1);
QLabel* companyLabel = new QLabel( QLabel* companyLabel = new QLabel(
QStringLiteral("<b>Coati Software KG</b><br />" QString::fromStdString("<b>Coati Software KG</b><br />"
"Jakob-Haringer-Straße 1/127<br />" "Jakob-Haringer-Straße 1/127<br />"
"5020 Salzburg<br />" "5020 Salzburg<br />"
"Austria<br />" "Austria<br />"
@@ -82,7 +82,7 @@ void QtAbout::setupAbout()
layoutHorz1->addSpacing(120); layoutHorz1->addSpacing(120);
QLabel* developerLabel = new QLabel( QLabel* developerLabel = new QLabel(
QStringLiteral("<br /><br />" QString::fromStdString("<br /><br />"
"<b>Team:</b><br />" "<b>Team:</b><br />"
"Manuel Dobusch<br />" "Manuel Dobusch<br />"
"Eberhard Gräther<br />" "Eberhard Gräther<br />"
@@ -95,7 +95,7 @@ void QtAbout::setupAbout()
windowLayout->addStretch(); windowLayout->addStretch();
QLabel* acknowledgementsLabel = new QLabel(QStringLiteral( QLabel* acknowledgementsLabel = new QLabel(QString::fromStdString(
"<b>Acknowledgements:</b><br />" "<b>Acknowledgements:</b><br />"
"Sourcetrail (aka Coati) 0.1 was created in the context of education at " "Sourcetrail (aka Coati) 0.1 was created in the context of education at "
"<a href=\"http://www.fh-salzburg.ac.at/en/\" style=\"color: white;\">Salzburg University " "<a href=\"http://www.fh-salzburg.ac.at/en/\" style=\"color: white;\">Salzburg University "