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

Method addApplication

gui/applicationlist.cpp:146–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void ApplicationList::addApplication(const Application &app)
147{
148 if (app.getName().isEmpty() || app.getPath().isEmpty()) {
149 return;
150 }
151 mApplications << app;
152}
153
154void ApplicationList::removeApplication(const int index)
155{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
getPathMethod · 0.80

Tested by

no test coverage detected