MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / scheduleContainerUpdate

Method scheduleContainerUpdate

src/common/actionmanager/actionmanager.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void 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
75void ActionManagerPrivate::updateContainer()
76{

Callers 1

scheduleUpdateMethod · 0.80

Calls 2

insertMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected