Show version info in caption
authorunc0rr
Wed, 10 Dec 2008 18:46:31 +0000
changeset 1542 b755ddb0bae8
parent 1541 61b3b32aede8
child 1543 2e800851cb8f
Show version info in caption
QTfrontend/ui_hwform.cpp
--- a/QTfrontend/ui_hwform.cpp	Sat Dec 06 11:53:50 2008 +0000
+++ b/QTfrontend/ui_hwform.cpp	Wed Dec 10 18:46:31 2008 +0000
@@ -24,6 +24,7 @@
 #include "ui_hwform.h"
 #include "pages.h"
 #include "playrecordpage.h"
+#include "hwconsts.h"
 
 void Ui_HWForm::setupUi(QMainWindow *HWForm)
 {
@@ -32,7 +33,7 @@
 	HWForm->setObjectName(QString::fromUtf8("HWForm"));
 	HWForm->resize(QSize(640, 480).expandedTo(HWForm->minimumSizeHint()));
 	HWForm->setMinimumSize(QSize(720, 430));
-	HWForm->setWindowTitle(QMainWindow::tr("Hedgewars"));
+	HWForm->setWindowTitle(QMainWindow::tr("Hedgewars %1").arg(*cVersionString));
 	centralWidget = new QWidget(HWForm);
 	centralWidget->setObjectName(QString::fromUtf8("centralWidget"));