From 97a1ada601b195beb6cde6687d0546884c26d1a0 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 7 Jul 2017 04:55:03 +0200 Subject: Fix about dialog Also bump the version no. to 1.0.0. --- playerwidget.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'playerwidget.cpp') diff --git a/playerwidget.cpp b/playerwidget.cpp index d0b1916..6628504 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -1422,8 +1422,13 @@ void PlayerWidget::writeSettings(){ void PlayerWidget::aboutDlg(){ QString title = QString(tr("About %1")).arg(qApp->applicationName()); - QString msg; - msg.append(tr("

A basic music player without all the fancy stuff implemented in eg. Amarok

")); - msg.append(tr("

Depends on PostgreSQL, Qt and TagLib")); - QMessageBox::about(this, title, msg); + QString aboutText = QString(tr("

%1: A basic music player without all the fancy stuff implemented in eg. Amarok

")).arg(qApp->applicationName()); + aboutText.append(""); + aboutText.append(QString(tr("")).arg(QChar(0x26A4))); + aboutText.append(QString(tr("")).arg(qApp->organizationName())); + aboutText.append(QString(tr("")).arg(qApp->applicationVersion())); + aboutText.append(QString(tr(""))); + aboutText.append(tr("")); + aboutText.append(tr("
AuthorSissy herself %1
Organization%1
Version%1
Build:/* __debug build__ */
DependsQt PostgreSQL TagLib
LicenseGPL 2 or later
")); + QMessageBox::about(this, title, aboutText); } -- cgit v1.2.3-70-g09d2