From d12ba41378ebfb26edc3ae181bf1a79794f593f3 Mon Sep 17 00:00:00 2001 From: Hazim Gazov Date: Thu, 6 May 2010 19:37:50 -0300 Subject: [PATCH] fucking LLSD got up in my grill. --- indra/newview/llpanellogin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 6e4df851f..4d65ccca5 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -1205,13 +1205,13 @@ void LLPanelLogin::onClickConnect(void *) std::string specified_channel = sInstance->getChild("channel_edit")->getText(); gSavedSettings.setString("SpecifiedChannel", specified_channel); - U32 specified_ver_maj = (U32)sInstance->getChild("vermaj_spin")->getValue(); + U32 specified_ver_maj = (U32)sInstance->getChild("vermaj_spin")->getValue().asInteger(); gSavedSettings.setU32("SpecifiedVersionMaj", specified_ver_maj); - U32 specified_ver_min = (U32)sInstance->getChild("vermin_spin")->getValue(); + U32 specified_ver_min = (U32)sInstance->getChild("vermin_spin")->getValue().asInteger(); gSavedSettings.setU32("SpecifiedVersionMin", specified_ver_min); - U32 specified_ver_patch = (U32)sInstance->getChild("verpatch_spin")->getValue(); + U32 specified_ver_patch = (U32)sInstance->getChild("verpatch_spin")->getValue().asInteger(); gSavedSettings.setU32("SpecifiedVersionPatch", specified_ver_patch); - U32 specified_ver_build = (U32)sInstance->getChild("verbuild_spin")->getValue(); + U32 specified_ver_build = (U32)sInstance->getChild("verbuild_spin")->getValue().asInteger(); gSavedSettings.setU32("SpecifiedVersionBuild", specified_ver_build); //