RLVa 1.1.2 to 1.1.3 upgrade. InvLinks + COF
This commit is contained in:
@@ -277,25 +277,3 @@ void LLFirstUse::useMedia()
|
||||
LLNotifications::instance().add("FirstMedia");
|
||||
}
|
||||
}
|
||||
|
||||
// [RLVa:KB] - Version: 1.23.4 | Checked: RLVa-1.0.3a (2009-09-10) | Added: RLVa-1.0.3a
|
||||
|
||||
bool rlvHasVisibleFirstUseNotification()
|
||||
{
|
||||
LLNotificationChannelPtr activeNotifications = LLNotifications::instance().getChannel("Notifications");
|
||||
for (LLNotificationChannel::Iterator itNotif = activeNotifications->begin(); itNotif != activeNotifications->end(); itNotif++)
|
||||
if ((*itNotif)->getName().find(RLV_SETTING_FIRSTUSE_PREFIX) == 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void LLFirstUse::showRlvFirstUseNotification(const std::string& strName)
|
||||
{
|
||||
if ( (gSavedSettings.getWarning(strName)) && (!rlvHasVisibleFirstUseNotification()) )
|
||||
{
|
||||
gSavedSettings.setWarning(strName, FALSE);
|
||||
LLNotifications::instance().add(strName);
|
||||
}
|
||||
}
|
||||
|
||||
// [/RLVa:KB]
|
||||
|
||||
Reference in New Issue
Block a user