--- 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"));