filter panel

This commit is contained in:
2019-03-20 13:52:36 +01:00
parent ead5308a97
commit 354c6154e7
9 changed files with 156 additions and 7 deletions
+10
View File
@@ -230,6 +230,16 @@ cTag* cTagList::find(cTag* lpTag)
return(nullptr);
}
cTag* cTagList::find(const QString& szName)
{
for(cTagList::iterator i = begin(); i != end(); i++)
{
if(szName == (*i)->name())
return(*i);
}
return(nullptr);
}
bool cTagList::remove(cTag* lpTag)
{
if(!find(lpTag))