aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanellogin.cpp')
-rw-r--r--linden/indra/newview/llpanellogin.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 09e2cee..a495516 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -360,10 +360,11 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
360 // childSetAction("quit_btn", onClickQuit, this); 360 // childSetAction("quit_btn", onClickQuit, this);
361 361
362 std::string imp_channel = gSavedSettings.getString("VersionChannelName"); 362 std::string imp_channel = gSavedSettings.getString("VersionChannelName");
363 std::string imp_version = llformat("%d.%d.%d", 363 std::string imp_version = llformat("%d.%d.%d %s",
364 IMP_VERSION_MAJOR, 364 IMP_VERSION_MAJOR,
365 IMP_VERSION_MINOR, 365 IMP_VERSION_MINOR,
366 IMP_VERSION_PATCH ); 366 IMP_VERSION_PATCH,
367 IMP_VERSION_TEST );
367 368
368 std::string ll_channel = LL_VIEWER_NAME; 369 std::string ll_channel = LL_VIEWER_NAME;
369 std::string ll_version = llformat("%d.%d.%d (%d)", 370 std::string ll_version = llformat("%d.%d.%d (%d)",
@@ -711,6 +712,14 @@ void LLPanelLogin::addServer(const std::string& server, S32 domain_name)
711 combo->setCurrentByIndex(0); 712 combo->setCurrentByIndex(0);
712} 713}
713 714
715
716// static
717void LLPanelLogin::setServer(S32 domain_name)
718{
719 LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo");
720 combo->setCurrentByIndex(domain_name);
721}
722
714// static 723// static
715void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, 724void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password,
716 BOOL &remember) 725 BOOL &remember)