| 68 | } |
| 69 | |
| 70 | QList<Group>::const_iterator ActionContainerPrivate::findGroup(const QString &groupId) const |
| 71 | { |
| 72 | auto it = groupList.cbegin(); |
| 73 | while (it != groupList.constEnd()) { |
| 74 | if (it->id == groupId) |
| 75 | break; |
| 76 | ++it; |
| 77 | } |
| 78 | return it; |
| 79 | } |
| 80 | |
| 81 | QAction *ActionContainerPrivate::insertLocation(QList<Group>::const_iterator group) const |
| 82 | { |