diff options
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-x | indra/newview/llfloaterpreference.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 4c74d3a8ef..3d4a1c44d8 100755 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -1624,35 +1624,6 @@ void LLFloaterPreference::selectChatPanel() selectPanel("chat"); } -S32 LLFloaterPreference::getHighestNotificationIndex() //change this name -{ - static const S32 comboBoxNamesLength = 4; - static std::string comboBoxNames[comboBoxNamesLength] = {"FriendIMOptions", - "NonFriendIMOptions", - "ConferenceIMOptions", - "GroupChatOptions"}; - S32 selectedIndex; - S32 priorityindex = 3; - LLComboBox * comboBox; - - for(S32 i = 0; i < comboBoxNamesLength; ++i) - { - comboBox = getChild<LLComboBox>(comboBoxNames[i]); - - if(comboBox) - { - selectedIndex = comboBox->getCurrentIndex(); - - if(selectedIndex < priorityindex) - { - priorityindex = selectedIndex; - } - } - } - - return priorityindex; -} - //------------------------------Updater--------------------------------------- static bool handleBandwidthChanged(const LLSD& newvalue) |