QTfrontend/about.cpp
changeset 907 a5b0b93a39c8
parent 888 9b2abea1071f
child 933 b8cacbe59ca2
--- a/QTfrontend/about.cpp	Tue May 06 15:00:03 2008 +0000
+++ b/QTfrontend/about.cpp	Tue May 06 15:13:02 2008 +0000
@@ -21,6 +21,7 @@
 #include <QLabel>
 #include <QTextBrowser>
 #include "about.h"
+#include "hwconsts.h"
 
 About::About(QWidget * parent) :
   QWidget(parent)
@@ -34,8 +35,8 @@
 
 	lbl1->setOpenExternalLinks(true);
 	lbl1->setText(
-			"<div align=\"center\"><h1>Hedgewars</h1>" +
-			QLabel::tr("<h3>Version 0.9.3</h3>") +
+			"<div align=\"center\"><h1>Hedgewars</h1>"
+			"<h3>" + QLabel::tr("Version") + " " + *cVersionString + "</h3>"
 			"<p><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p><br>" +
 			QLabel::tr("This program is distributed under the GNU General Public License") +
 			"</div>"