Move duplicated logic out of NameBox and into new base class LLNameUI

Also clean up includes.
This commit is contained in:
Liru Færs
2019-10-08 15:55:06 -04:00
parent 3c8a8efc03
commit 65ee3a5345
6 changed files with 157 additions and 82 deletions

View File

@@ -204,7 +204,7 @@
#include "llweb.h"
#include "llvoiceclient.h"
#include "llnamelistctrl.h"
#include "llnamebox.h"
#include "llnameui.h"
#include "llnameeditor.h"
#include "llwlparammanager.h"
#include "llwaterparammanager.h"
@@ -320,7 +320,7 @@ void transition_back_to_login_panel(const std::string& emsg);
void callback_cache_name(const LLUUID& id, const std::string& full_name, bool is_group)
{
LLNameBox::refreshAll(id, full_name, is_group);
LLNameUI::refreshAll(id, full_name, is_group);
LLNameEditor::refreshAll(id, full_name, is_group);
// TODO: Actually be intelligent about the refresh.