apply some code analyzer recommendations
This commit is contained in:
@@ -140,7 +140,7 @@ bool QCDCore::bindWidget(QWidget * w) {
|
||||
return false;
|
||||
}
|
||||
PIVector<CDType *> ak = K.root().children();
|
||||
piForeachC(CDType * k, ak) {
|
||||
for (const auto * k: ak) {
|
||||
if (!on.endsWith(PI2QString(k->pathString().join("_")))) continue;
|
||||
if (bindWidget(w, *k)) return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user