You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
513 B
14 lines
513 B
4 years ago
|
int a()
|
||
|
{
|
||
|
for(QStringList::const_iterator codesIt = _codes.constBegin(); codesIt != _codes.constEnd(); ++codesIt) {
|
||
|
if( // Current codes enough to compare:
|
||
|
( ( *codesIt ).size() <= strId ) ||
|
||
|
// Character on this slot was not readable:
|
||
|
( ( *codesIt ).at( strId ) == m_wildcard ) ||
|
||
|
// This character is matching:
|
||
|
( code.at( strId ) == ( *codesIt ).at( strId ) ) ) {
|
||
|
// Ignore this slot:
|
||
|
continue;
|
||
|
}
|
||
|
}
|
||
|
}
|