Append username to window title upon connecting to grid.

This commit is contained in:
Shyotl
2012-02-22 17:51:06 -06:00
parent c2da7f4570
commit 3d39e443fe
8 changed files with 36 additions and 0 deletions

View File

@@ -3140,6 +3140,14 @@ void LLWindowWin32::spawnWebBrowser(const std::string& escaped_url, bool async)
ShellExecuteEx( &sei );
}
void LLWindowWin32::setTitle(const std::string &title)
{
mbstowcs(mWindowTitle, title.c_str(), 255);
mWindowTitle[255] = 0;
SetWindowText(mWindowHandle, mWindowTitle);
}
/*
Make the raw keyboard data available - used to poke through to LLQtWebKit so
that Qt/Webkit has access to the virtual keycodes etc. that it needs