summaryrefslogtreecommitdiffstats
path: root/shemovcleaner.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-10-03 06:24:29 +0200
committerArno <arno@disconnect.de>2016-10-03 07:22:53 +0200
commita48e39d830a27ed89fe4e826fa4f82acb044b4c2 (patch)
treebf3123fdd65e993ad82e69162ba27824f2ef1283 /shemovcleaner.cpp
parenteb65464ccdfae3458dd91be3bd6c0b7ee2ada7fa (diff)
downloadShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.tar.gz
ShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.tar.bz2
ShemovCleaner-a48e39d830a27ed89fe4e826fa4f82acb044b4c2.zip
Update about data
And fix it for a perl build script...
Diffstat (limited to 'shemovcleaner.cpp')
-rw-r--r--shemovcleaner.cpp10
1 files changed, 9 insertions, 1 deletions
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(){