MCPcopy Create free account
hub / github.com/SpartanJ/eepp / clear

Method clear

src/eepp/ui/models/modelselection.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void ModelSelection::clear( bool notify ) {
75 Lock l( mMutex );
76 if ( mIndexes.empty() )
77 return;
78 mIndexes.clear();
79 if ( notify )
80 mView->notifySelectionChange();
81}
82
83void ModelSelection::notifySelectionChanged() {
84 Lock l( mMutex );

Callers 3

cleanChildrenMethod · 0.45
setMethod · 0.45
invalidateMethod · 0.45

Calls 2

notifySelectionChangeMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected