src/mainWindow.cc

changeset 745
ab8adddc0f5c
parent 744
bbe0e1834065
child 749
806d2baded15
--- a/src/mainWindow.cc	Mon Apr 28 17:34:10 2014 +0300
+++ b/src/mainWindow.cc	Mon Apr 28 17:50:42 2014 +0300
@@ -281,9 +281,8 @@
 	title += " [pre-release build]";
 #endif // DEBUG
 
-#ifdef COMPILE_DATE
-	title += " (built " COMPILE_DATE ")";
-#endif // COMPILE_DATE
+	if (compileTimeString()[0] != '\0')
+		title += format (" (built %1)", compileTimeString());
 
 	setWindowTitle (title);
 }

mercurial