LLPanelLogin code cleanup

This commit is contained in:
Inusaito Sayori
2014-12-12 20:33:36 -05:00
parent 7db5126182
commit 48e6a4f535
2 changed files with 1 additions and 18 deletions

View File

@@ -411,25 +411,11 @@ BOOL LLPanelLogin::handleKeyHere(KEY key, MASK mask)
return TRUE;
}
if (('P' == key) && (MASK_CONTROL == mask))
{
LLFloaterPreference::show(NULL);
return TRUE;
}
if (('T' == key) && (MASK_CONTROL == mask))
{
new LLFloaterSimple("floater_test.xml");
return TRUE;
}
//Singu TODO: Re-implement f1 help.
/*if ( KEY_F1 == key )
{
llinfos << "Spawning HTML help window" << llendl;
gViewerHtmlHelp.show();
return TRUE;
}*/
# if !LL_RELEASE_FOR_DOWNLOAD
if ( KEY_F2 == key )
@@ -649,9 +635,6 @@ void LLPanelLogin::updateLocationSelectorsVisibility()
// [/RLVa:KB]
sInstance->getChildView("location_panel")->setVisible(show_start);
bool show_server = gSavedSettings.getBOOL("ForceShowGrid");
sInstance->getChildView("grids_panel")->setVisible(show_server);
}
}