MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / checkSide

Function checkSide

launcher/ui/pages/modplatform/ModModel.cpp:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102bool checkSide(QString filter, QString value)
103{
104 return filter.isEmpty() || value.isEmpty() || filter == "both" || value == "both" || filter == value;
105}
106
107bool ModModel::checkFilters(ModPlatform::IndexedPack::Ptr pack)
108{

Callers 2

checkFiltersMethod · 0.85
checkVersionFiltersMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected