From 66ea5a9be4fb055f1b8ba2c8c2d2c4c9a86b7ef8 Mon Sep 17 00:00:00 2001 From: Malte Langkabel Date: Fri, 15 May 2020 11:59:50 +0200 Subject: [PATCH] ui: fix corrupted display of non-ascii characters in about window (issue #1011) (#1013) --- src/lib_gui/qt/window/QtAbout.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/lib_gui/qt/window/QtAbout.cpp b/src/lib_gui/qt/window/QtAbout.cpp index 7ee87cbd..0086e73c 100644 --- a/src/lib_gui/qt/window/QtAbout.cpp +++ b/src/lib_gui/qt/window/QtAbout.cpp @@ -69,33 +69,33 @@ void QtAbout::setupAbout() windowLayout->addLayout(layoutHorz1); QLabel* companyLabel = new QLabel( - QStringLiteral("Coati Software KG
" - "Jakob-Haringer-Straße 1/127
" - "5020 Salzburg
" - "Austria
" - "support@sourcetrail.com
" - "sourcetrail.com")); + QString::fromStdString("Coati Software KG
" + "Jakob-Haringer-Straße 1/127
" + "5020 Salzburg
" + "Austria
" + "support@sourcetrail.com
" + "sourcetrail.com")); companyLabel->setOpenExternalLinks(true); layoutHorz1->addWidget(companyLabel); layoutHorz1->addSpacing(120); QLabel* developerLabel = new QLabel( - QStringLiteral("

" - "Team:
" - "Manuel Dobusch
" - "Eberhard Gräther
" - "Malte Langkabel
" - "Viktoria Pfausler
" - "Andreas Stallinger
")); + QString::fromStdString("

" + "Team:
" + "Manuel Dobusch
" + "Eberhard Gräther
" + "Malte Langkabel
" + "Viktoria Pfausler
" + "Andreas Stallinger
")); developerLabel->setObjectName(QStringLiteral("small")); layoutHorz1->addWidget(developerLabel); } windowLayout->addStretch(); - QLabel* acknowledgementsLabel = new QLabel(QStringLiteral( + QLabel* acknowledgementsLabel = new QLabel(QString::fromStdString( "Acknowledgements:
" "Sourcetrail (aka Coati) 0.1 was created in the context of education at " "Salzburg University "