MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / setDefault

Method setDefault

gui/applicationlist.cpp:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void ApplicationList::setDefault(const int index)
160{
161 if (index < mApplications.size() && index >= 0) {
162 mDefaultApplicationIndex = index;
163 }
164}
165
166void ApplicationList::copy(const ApplicationList *list)
167{

Callers 2

removeApplicationMethod · 0.80
defaultApplicationMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected