| 241 | } |
| 242 | |
| 243 | void ActionManager::addContext(const QStringList &context) |
| 244 | { |
| 245 | for (const auto &c : context) { |
| 246 | if (d->cmdContext.contains(c)) |
| 247 | continue; |
| 248 | d->cmdContext << c; |
| 249 | } |
| 250 | |
| 251 | setContext(d->cmdContext); |
| 252 | } |
| 253 | |
| 254 | void ActionManager::removeContext(const QStringList &context) |
| 255 | { |
no test coverage detected