Skip to content
Snippets Groups Projects
Commit 82e9c2d4 authored by Drake Arconis's avatar Drake Arconis
Browse files

Cleanup about floater a bit

parent e9262080
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ private:
LL_DEBUGS("ServerReleaseNotes") << dumpResponse()
<< " [headers:" << getResponseHeaders() << "]" << LL_ENDL;
LLFloaterAbout* floater_about = LLFloaterReg::getTypedInstance<LLFloaterAbout>("sl_about");
LLFloaterAbout* floater_about = LLFloaterReg::findTypedInstance<LLFloaterAbout>("sl_about");
if (floater_about)
{
std::string location = getResponseHeader(HTTP_IN_HEADER_LOCATION);
......@@ -120,10 +120,9 @@ private:
/*virtual*/ void httpFailure()
{
LLFloaterAbout* floater_about = LLFloaterReg::getTypedInstance<LLFloaterAbout>("sl_about");
LLFloaterAbout* floater_about = LLFloaterReg::findTypedInstance<LLFloaterAbout>("sl_about");
if (floater_about)
{
std::string location = LLTrans::getString("ErrorFetchingServerReleaseNotesURL");
floater_about->setSupportText(LLTrans::getString("ErrorFetchingServerReleaseNotesURL"));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment