MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / applyFilter

Method applyFilter

launcher/minecraft/mod/Mod.cpp:126–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool Mod::applyFilter(QRegularExpression filter) const
127{
128 if (filter.match(description()).hasMatch())
129 return true;
130
131 for (auto& author : authors()) {
132 if (filter.match(author).hasMatch()) {
133 return true;
134 }
135 }
136
137 return Resource::applyFilter(filter);
138}
139
140auto Mod::details() const -> const ModDetails&
141{

Callers 1

filterAcceptsRowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected