| 185 | } |
| 186 | |
| 187 | ActionContainer *ActionManager::actionContainer(const QString &containerId) |
| 188 | { |
| 189 | auto it = d->idContainerMap.constFind(containerId); |
| 190 | if (it == d->idContainerMap.constEnd()) { |
| 191 | qWarning() << "failed to find :" << containerId; |
| 192 | return nullptr; |
| 193 | } |
| 194 | return it.value(); |
| 195 | } |
| 196 | |
| 197 | Command *ActionManager::registerAction(QAction *action, const QString &id, const QStringList &context) |
| 198 | { |
no test coverage detected