summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneldirbrowser.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-01-20 21:17:35 +0200
committerGitHub <noreply@github.com>2026-01-20 21:17:35 +0200
commitca6601cbb8d4ef9828466c8d1316ae28d0c7b7b8 (patch)
treef302776c608b48d1e5b892378b694a6b286536d5 /indra/newview/llpaneldirbrowser.cpp
parent6579ff6282f86ddc2ae235f421c5ccdda4871a78 (diff)
#5304 fix UI inconsistencies related to maturity setting in Legacy Search floater
Diffstat (limited to 'indra/newview/llpaneldirbrowser.cpp')
-rw-r--r--indra/newview/llpaneldirbrowser.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/indra/newview/llpaneldirbrowser.cpp b/indra/newview/llpaneldirbrowser.cpp
index 8c981cad55..69329c4ea4 100644
--- a/indra/newview/llpaneldirbrowser.cpp
+++ b/indra/newview/llpaneldirbrowser.cpp
@@ -559,9 +559,6 @@ void LLPanelDirBrowser::processDirEventsReply(LLMessageSystem* msg, void**)
LLUUID owner_id;
std::string name;
std::string date;
- bool show_pg = gSavedSettings.getBOOL("ShowPGEvents");
- bool show_mature = gSavedSettings.getBOOL("ShowMatureEvents");
- bool show_adult = gSavedSettings.getBOOL("ShowAdultEvents");
msg->getUUID("AgentData", "AgentID", agent_id);
msg->getUUID("QueryData", "QueryID", query_id );
@@ -618,27 +615,6 @@ void LLPanelDirBrowser::processDirEventsReply(LLMessageSystem* msg, void**)
LL_WARNS() << "skipped event due to owner_id null, event_id " << event_id << LL_ENDL;
continue;
}
-
- // skip events that don't match the flags
- // there's no PG flag, so we make sure neither adult nor mature is set
- if (((event_flags & (EVENT_FLAG_ADULT | EVENT_FLAG_MATURE)) == EVENT_FLAG_NONE) && !show_pg)
- {
- //llwarns << "Skipped pg event because we're not showing pg, event_id " << event_id << llendl;
- continue;
- }
-
- if ((event_flags & EVENT_FLAG_MATURE) && !show_mature)
- {
- //llwarns << "Skipped mature event because we're not showing mature, event_id " << event_id << llendl;
- continue;
- }
-
- if ((event_flags & EVENT_FLAG_ADULT) && !show_adult)
- {
- //llwarns << "Skipped adult event because we're not showing adult, event_id " << event_id << llendl;
- continue;
- }
-
LLSD content;
content["type"] = EVENT_CODE;