MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / onAppChanged

Method onAppChanged

src/data/model/AppItemModel.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void AppItemModel::onAppChanged(const AppNode &node)
63{
64 for(int i = 0; i < cache.count(); i++)
65 {
66 if(cache.at(i).id == node.id)
67 {
68 cache[i] = node;
69 emit dataChanged(index(i, 0), index(i, 0));
70 break;
71 }
72 }
73}
74
75void AppItemModel::onAppRemoved(const uint32_t id)
76{

Callers

nothing calls this directly

Calls 2

countMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected