summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertranslationsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.cpp')
-rw-r--r--indra/newview/llfloatertranslationsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatertranslationsettings.cpp b/indra/newview/llfloatertranslationsettings.cpp
index 3e77578997..4079fdf482 100644
--- a/indra/newview/llfloatertranslationsettings.cpp
+++ b/indra/newview/llfloatertranslationsettings.cpp
@@ -85,14 +85,14 @@ std::string LLFloaterTranslationSettings::getSelectedService() const
return mTranslationServiceRadioGroup->getSelectedValue().asString();
}
-void LLFloaterTranslationSettings::showError(const std::string& err_name)
+void LLFloaterTranslationSettings::showError(const std::string& err_name) const
{
LLSD args;
args["MESSAGE"] = getString(err_name);
LLNotificationsUtil::add("GenericAlert", args);
}
-bool LLFloaterTranslationSettings::validate()
+bool LLFloaterTranslationSettings::validate() const
{
bool translate_chat = mMachineTranslationCB->getValue().asBoolean();
if (!translate_chat) return true;