From a48e39d830a27ed89fe4e826fa4f82acb044b4c2 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 3 Oct 2016 06:24:29 +0200 Subject: Update about data And fix it for a perl build script... --- main.cpp | 3 ++- shemovcleaner.cpp | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 005af7f..e7d3f81 100644 --- a/main.cpp +++ b/main.cpp @@ -5,8 +5,9 @@ int main(int argc, char *argv[]){ QApplication a(argc, argv); QCoreApplication::setOrganizationName("Sissie's, Inc."); - QCoreApplication::setOrganizationDomain("dakara.d-tor.org"); + QCoreApplication::setOrganizationDomain("tollana.d-tor.org"); QCoreApplication::setApplicationName("ShemovCleaner"); + QCoreApplication::setApplicationVersion("1.0 (__build_info__)"); ShemovCleaner w; w.show(); return a.exec(); diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp index bb22e24..171d689 100644 --- a/shemovcleaner.cpp +++ b/shemovcleaner.cpp @@ -192,7 +192,15 @@ void ShemovCleaner::writeSettings(){ } void ShemovCleaner::aboutThisProgram(){ - QMessageBox::about(this, tr("About ShemovCleaner"), tr("A little helper program for the big sister SheMov")); + QString aboutLabel = QString(tr("About %1")).arg(qApp->applicationName()); + QString aboutText = QString("

%1 - A little helper program for the big sister SheMov

").arg(qApp->applicationName()); + aboutText.append(""); + aboutText.append(QString(tr("Sissy herself %1")).arg(QChar(0x26A4))); + aboutText.append(QString(tr("")).arg(qApp->organizationName())); + aboutText.append(QString(tr("")).arg(qApp->applicationVersion())); + aboutText.append(QString(tr(""))); + aboutText.append(tr("
Author
Organization%1
Version%1
Build:/* __debug build__ */
DependsQt
")); + QMessageBox::about(this, aboutLabel, aboutText); } QAction *ShemovCleaner::createSeparator(){ -- cgit v1.2.3-70-g09d2