Feature Request: Build number in window title
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user