This commit is contained in:
Herwig Birke
2018-01-31 16:19:21 +01:00
parent 3406fbb718
commit caebd6b563
18 changed files with 906 additions and 30 deletions
+10
View File
@@ -82,3 +82,13 @@ cPart* cPartList::find(qint32 id)
}
return(0);
}
cPart* cPartList::find(const QString& szGroup, const QString& szPart)
{
for(int x = 0;x < count();x++)
{
if(at(x)->partGroup()->name() == szGroup && at(x)->name() == szPart)
return(at(x));
}
return(0);
}