| 281 | } |
| 282 | |
| 283 | void SymbolBar::resetCurmbItemState() |
| 284 | { |
| 285 | for (int i = 0; i < mainLayout->count(); ++i) { |
| 286 | auto item = mainLayout->itemAt(i); |
| 287 | if (!item) |
| 288 | continue; |
| 289 | |
| 290 | auto curmb = qobject_cast<CurmbItem *>(item->widget()); |
| 291 | if (curmb && curmb->isSelected()) |
| 292 | curmb->setSelected(false); |
| 293 | } |
| 294 | } |
nothing calls this directly
no test coverage detected