Git commit 3d28036b0ed33ef077c7df6ba30a6d4ceac61884 by Jean-Baptiste Mardel= le. Committed on 09/12/2016 at 07:05. Pushed by mardelle into branch 'master'. Display application version in about dialog header REVIEW: 129607 BUG: 372367 M +3 -6 src/kaboutapplicationdialog.cpp https://commits.kde.org/kxmlgui/3d28036b0ed33ef077c7df6ba30a6d4ceac61884 diff --git a/src/kaboutapplicationdialog.cpp b/src/kaboutapplicationdialog.= cpp index 156410e..5d57c5a 100644 --- a/src/kaboutapplicationdialog.cpp +++ b/src/kaboutapplicationdialog.cpp @@ -95,7 +95,7 @@ void KAboutApplicationDialog::Private::init(const KAboutD= ata &ad, Options opt) titleWidget->setPixmap(QPixmap::fromImage(aboutData.programLogo().= value()), KTitleWidget::ImageLeft); } = - titleWidget->setText(i18n("%1",= aboutData.displayName())); + titleWidget->setText(i18n("%1
Ver= sion %2", aboutData.displayName(), aboutData.version())); = //Then the tab bar... QTabWidget *tabWidget =3D new QTabWidget; @@ -150,12 +150,9 @@ void KAboutApplicationDialog::Private::init(const KAbo= utData &ad, Options opt) // Version QWidget *versionWidget =3D new QWidget(q); QVBoxLayout *versionLayout =3D new QVBoxLayout; - QLabel *versionLabel =3D new QLabel(i18n("Version %1", aboutDat= a.version())); - versionLabel->setTextInteractionFlags(Qt::TextSelectableByMouse); - versionLayout->addWidget(versionLabel); if (!(opt & HideKdeVersion)) { QLabel *versionLabel =3D new QLabel( - i18n("Using:", + i18n("", QStringLiteral(KXMLGUI_VERSION_STRING), QString::fromLocal8Bit(qVersion()), QStringLiteral(QT_VERSION_STR), @@ -165,7 +162,7 @@ void KAboutApplicationDialog::Private::init(const KAbou= tData &ad, Options opt) } versionLayout->addStretch(); versionWidget->setLayout(versionLayout); - tabWidget->addTab(versionWidget, i18n("&Version")); + tabWidget->addTab(versionWidget, i18n("&Libraries")); = //Palette needed at least for translators... QPalette transparentBackgroundPalette;