Feature Request: Build number in window title

This commit is contained in:
Lirusaito
2019-03-09 15:38:45 -05:00
parent e55c8e20e5
commit f1bb636f91

View File

@@ -2466,12 +2466,11 @@ bool LLAppViewer::initConfiguration()
//
// Set the name of the window
//
gWindowTitle = LLTrans::getString("APP_NAME");
gWindowTitle = LLTrans::getString("APP_NAME") + llformat(" (%d) ", LLVersionInfo::getBuild())
#if LL_DEBUG
gWindowTitle += std::string(" [DEBUG] ") + gArgs;
#else
gWindowTitle += std::string(" ") + gArgs;
+ "[DEBUG] "
#endif
+ gArgs;
LLStringUtil::truncate(gWindowTitle, 255);
//RN: if we received a URL, hand it off to the existing instance.