MCPcopy Create free account
hub / github.com/KDAB/GammaRay / purgeChangesForObject

Method purgeChangesForObject

core/probe.cpp:733–742  ·  view source on GitHub ↗

pre-condition: we have the lock, arbitrary thread

Source from the content-addressed store, hash-verified

731
732// pre-condition: we have the lock, arbitrary thread
733void Probe::purgeChangesForObject(QObject *obj)
734{
735 for (int i = 0; i < m_queuedObjectChanges.size(); ++i) {
736 if (m_queuedObjectChanges.at(i).obj == obj
737 && m_queuedObjectChanges.at(i).type == ObjectChange::Create) {
738 m_queuedObjectChanges.remove(i);
739 return;
740 }
741 }
742}
743
744// pre-condition: we have the lock, arbitrary thread
745void Probe::notifyQueuedObjectChanges()

Callers 1

objectRemovedMethod · 0.80

Calls 2

sizeMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected