aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfirstuse.cpp')
-rw-r--r--linden/indra/newview/llfirstuse.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp
index e82aa96..0b777ea 100644
--- a/linden/indra/newview/llfirstuse.cpp
+++ b/linden/indra/newview/llfirstuse.cpp
@@ -328,21 +328,6 @@ void LLFirstUse::showRlvFirstUseNotification(const std::string& strName)
328 } 328 }
329} 329}
330 330
331void LLFirstUse::warnRlvGiveToRLV()
332{
333 if ( (gSavedSettings.getWarning(RLV_SETTING_FIRSTUSE_GIVETORLV)) && (RlvSettings::getForbidGiveToRLV()) )
334 LLNotifications::instance().add(RLV_SETTING_FIRSTUSE_GIVETORLV, LLSD(), LLSD(), &LLFirstUse::onRlvGiveToRLVConfirmation);
335}
336
337void LLFirstUse::onRlvGiveToRLVConfirmation(const LLSD& notification, const LLSD& response)
338{
339 gSavedSettings.setWarning(RLV_SETTING_FIRSTUSE_GIVETORLV, FALSE);
340
341 S32 idxOption = LLNotification::getSelectedOption(notification, response);
342 if ( (0 == idxOption) || (1 == idxOption) )
343 gSavedSettings.setBOOL(RLV_SETTING_FORBIDGIVETORLV, (idxOption == 1));
344}
345
346// [/RLVa:KB] 331// [/RLVa:KB]
347 332
348void LLFirstUse::callbackClientTags(const LLSD& notification, const LLSD& response) 333void LLFirstUse::callbackClientTags(const LLSD& notification, const LLSD& response)