diff options
author | Arno <arno@disconnect.de> | 2016-10-03 06:24:29 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-10-03 07:22:53 +0200 |
commit | a48e39d830a27ed89fe4e826fa4f82acb044b4c2 (patch) | |
tree | bf3123fdd65e993ad82e69162ba27824f2ef1283 | |
parent | eb65464ccdfae3458dd91be3bd6c0b7ee2ada7fa (diff) | |
download | ShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.tar.gz ShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.tar.bz2 ShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.zip |
Update about data
And fix it for a perl build script...
-rw-r--r-- | main.cpp | 3 | ||||
-rw-r--r-- | shemovcleaner.cpp | 10 |
2 files changed, 11 insertions, 2 deletions
@@ -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("<p>%1 - A little helper program for the big sister SheMov</p>").arg(qApp->applicationName()); + aboutText.append("<table>"); + aboutText.append(QString(tr("<tr><td>Author<td></td>Sissy herself %1</td></tr>")).arg(QChar(0x26A4))); + aboutText.append(QString(tr("<tr><td>Organization</td><td>%1</td></tr>")).arg(qApp->organizationName())); + aboutText.append(QString(tr("<tr><td>Version</td><td>%1</td></tr>")).arg(qApp->applicationVersion())); + aboutText.append(QString(tr("<tr><td>Build:</td><td>/* __debug build__ */</td></tr>"))); + aboutText.append(tr("<tr><td>Depends</td><td>Qt</td></tr></table>")); + QMessageBox::about(this, aboutLabel, aboutText); } QAction *ShemovCleaner::createSeparator(){ |