diff --git a/indra/newview/llfloaterprofiletexture.cpp b/indra/newview/llfloaterprofiletexture.cpp index 2ebbbdf08b..94340eb36f 100644 --- a/indra/newview/llfloaterprofiletexture.cpp +++ b/indra/newview/llfloaterprofiletexture.cpp @@ -71,7 +71,7 @@ BOOL LLFloaterProfileTexture::postBuild() mCloseButton->setCommitCallback([this](LLUICtrl*, void*) { closeFloater(); }, nullptr); // Add refresh function - getChild("btn_refresh")->setCommitCallback([this](LLUICtrl*, void*) { refresh(); }, nullptr); + getChild("btn_refresh")->setCommitCallback([this](LLUICtrl*, void*) { refreshTexture(); }, nullptr); return TRUE; } @@ -230,7 +230,7 @@ void LLFloaterProfileTexture::onTextureLoaded( } // Add refresh function -void LLFloaterProfileTexture::refresh() +void LLFloaterProfileTexture::refreshTexture() { if (mImageID.notNull() && mImage.notNull()) { diff --git a/indra/newview/llfloaterprofiletexture.h b/indra/newview/llfloaterprofiletexture.h index 0faa22c99e..cbc5322e8b 100644 --- a/indra/newview/llfloaterprofiletexture.h +++ b/indra/newview/llfloaterprofiletexture.h @@ -47,7 +47,7 @@ public: void loadAsset(const LLUUID &image_id); // Add refresh function - void refresh(); + void refreshTexture(); static void onTextureLoaded(