276 title += " [debug build]"; |
276 title += " [debug build]"; |
277 #elif BUILD_ID != BUILD_RELEASE |
277 #elif BUILD_ID != BUILD_RELEASE |
278 title += " [pre-release build]"; |
278 title += " [pre-release build]"; |
279 #endif // DEBUG |
279 #endif // DEBUG |
280 |
280 |
281 if (compileTimeString()[0] != '\0') |
281 if (commitTimeString()[0] != '\0') |
282 title += format (" (built %1)", compileTimeString()); |
282 title += format (" (%1)", commitTimeString()); |
283 |
283 |
284 setWindowTitle (title); |
284 setWindowTitle (title); |
285 } |
285 } |
286 |
286 |
287 // ============================================================================= |
287 // ============================================================================= |