Commit 8f3f95c5 authored by Eike Ziller's avatar Eike Ziller

About Dialog: Remove useless spacing if not all information is available

Change-Id: Ie7a923dd28d7989a982d7e695199616d8f8fbbfb
Reviewed-by: default avatarKai Koehne <kai.koehne@theqtcompany.com>
parent 1d88042b
......@@ -61,20 +61,18 @@ VersionDialog::VersionDialog(QWidget *parent)
QString ideRev;
#ifdef IDE_REVISION
//: This gets conditionally inserted as argument %8 into the description string.
ideRev = tr("From revision %1<br/>").arg(QString::fromLatin1(Constants::IDE_REVISION_STR).left(10));
ideRev = tr("<br/>From revision %1<br/>").arg(QString::fromLatin1(Constants::IDE_REVISION_STR).left(10));
#endif
QString buildDateInfo;
#ifdef QTC_SHOW_BUILD_DATE
buildDateInfo = tr("Built on %1 %2<br/>").arg(QLatin1String(__DATE__), QLatin1String(__TIME__));
buildDateInfo = tr("<br/>Built on %1 %2<br/>").arg(QLatin1String(__DATE__), QLatin1String(__TIME__));
#endif
const QString description = tr(
"<h3>%1</h3>"
"%2<br/>"
"<br/>"
"%3"
"<br/>"
"%4"
"<br/>"
"Copyright 2008-%5 %6. All rights reserved.<br/>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment