| 63 | } |
| 64 | |
| 65 | void ActionManagerPrivate::scheduleContainerUpdate(ActionContainer *actionContainer) |
| 66 | { |
| 67 | const bool needsSchedule = scheduledContainerUpdates.isEmpty(); |
| 68 | scheduledContainerUpdates.insert(actionContainer); |
| 69 | if (needsSchedule) |
| 70 | QMetaObject::invokeMethod(this, |
| 71 | &ActionManagerPrivate::updateContainer, |
| 72 | Qt::QueuedConnection); |
| 73 | } |
| 74 | |
| 75 | void ActionManagerPrivate::updateContainer() |
| 76 | { |
no test coverage detected