changeset 64:73fd86778014

Version number display etc. changes.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Apr 2017 11:29:56 +0300
parents fc633e7c83a9
children f9a1d33ed4a8
files main.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/main.cpp	Sun Apr 09 11:12:12 2017 +0300
+++ b/main.cpp	Sun Apr 09 11:29:56 2017 +0300
@@ -218,9 +218,8 @@
 
     // Setup other UI things
     setWindowIcon(QIcon(QPixmap(":/img/icon-64.png")));
-    setWindowTitle(tr("%1%2%3").
+    setWindowTitle(tr("%1 versio %3").
         arg(tr(APP_NAME)).
-        arg(tr(" versio ")).
         arg(tr(APP_VERSION)));
 
     QPixmap logoImage(":/img/logo.png");
@@ -433,7 +432,7 @@
         this,
         tr("Tietoja ohjelmasta"),
         tr(
-        "<h1>%1</h1>"
+        "<h1>%1 v%2</h1>"
         "<p>"
         "<b>Ohjelmoinut ja kehittänyt Matti Hämäläinen &lt;ccr@tnsp.org&gt;<br>"
         "(C) Copyright 2017 Tecnic Software productions (TNSP)</b><br>"
@@ -447,7 +446,8 @@
         "nähdäksesi täydelliset lisenssiehdot."
         "</p>"
         ).
-        arg(tr(APP_NAME))
+        arg(tr(APP_NAME)).
+        arg(tr(APP_VERSION))
         );
 }