From 9e2cb2f4a00a6acc48738f9df788ad5adfc7d62a Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Fri, 28 Aug 2009 08:04:26 +0000 Subject: DEV-38942 Eliminate startModal() from LLModalDialog Also moved TOS and Critical floaters to login debug menu for testing --- indra/newview/llpanellogin.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'indra/newview/llpanellogin.cpp') diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 167446d380..ef830d5f03 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -410,15 +410,6 @@ BOOL LLPanelLogin::handleKeyHere(KEY key, MASK mask) return TRUE; } - if (('T' == key) && (MASK_CONTROL == mask)) - { // previously was "Test Floater" - if(gSavedSettings.getBOOL("QAMode")) - { - LLFloaterReg::showInstance("ui_preview", LLSD(), TRUE); - return TRUE; - } - } - if ( KEY_F1 == key ) { llinfos << "Spawning HTML help window" << llendl; @@ -426,21 +417,6 @@ BOOL LLPanelLogin::handleKeyHere(KEY key, MASK mask) return TRUE; } -# if !LL_RELEASE_FOR_DOWNLOAD - if ( KEY_F2 == key ) - { - llinfos << "Spawning floater TOS window (TOS)" << llendl; - LLFloaterReg::showInstance("message_tos",LLSD("")); - return TRUE; - } - if ( KEY_F3 == key ) - { - llinfos << "Spawning floater TOS window (critical message)" << llendl; - LLFloaterReg::showInstance("message_critical",LLSD("")); - return TRUE; - } -#endif - if (KEY_RETURN == key && MASK_NONE == mask) { // let the panel handle UICtrl processing: calls onClickConnect() -- cgit v1.2.3