diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index d793c51cf6..0f4b9002ba 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -461,6 +461,9 @@ void AboutDialog::setupLabels() QString disda = QString::fromLatin1(config["BuildRevisionDate"].c_str()); QString mturl = QString::fromLatin1(config["MaintainerUrl"].c_str()); + // we use replace() to keep label formating, so a label with text "Unknown" + // gets replaced to "FreeCAD", for example + QString author = ui->labelAuthor->text(); author.replace(QString::fromLatin1("Unknown Application"), exeName); author.replace(QString::fromLatin1("(c) Unknown Author"), banner);