QTfrontend/ui_hwform.cpp
changeset 8635 c1c6b815691e
parent 8613 82c649dfc7c3
child 9080 9b42757d7e71
--- a/QTfrontend/ui_hwform.cpp	Sun Mar 03 20:59:27 2013 -0500
+++ b/QTfrontend/ui_hwform.cpp	Mon Mar 04 10:08:38 2013 +0100
@@ -54,9 +54,10 @@
     HWForm->setObjectName(QString::fromUtf8("HWForm"));
     HWForm->resize(QSize(640, 480).expandedTo(HWForm->minimumSizeHint()));
     HWForm->setMinimumSize(QSize(720, 450));
-    QString suffix = isDevBuild ?
-        QMainWindow::tr("-r%1 (%2)").arg(*cRevisionString, *cHashString) : QString("");
-    QString title = QMainWindow::tr("Hedgewars %1").arg(*cVersionString) + suffix;
+    QString title = QMainWindow::tr("Hedgewars %1").arg(*cVersionString);
+#ifdef DEBUG
+    title += QMainWindow::tr("-r%1 (%2)").arg(*cRevisionString, *cHashString);
+#endif
     HWForm->setWindowTitle(title);
     centralWidget = new QWidget(HWForm);
     centralWidget->setObjectName(QString::fromUtf8("centralWidget"));