MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / loadProjects

Method loadProjects

AdaptixClient/Source/UI/Dialogs/DialogConnect.cpp:329–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void DialogConnect::loadProjects()
330{
331 cardWidget->clear();
332 listProjects = GlobalClient->storage->ListProjects();
333 for (auto& profile : listProjects) {
334 QString subtitle = profile.GetUsername() + " @ " + profile.GetHost();
335 cardWidget->addCard(profile.GetProject(), subtitle);
336 }
337}
338
339AuthProfile* DialogConnect::StartDialog()
340{

Callers

nothing calls this directly

Calls 6

ListProjectsMethod · 0.80
GetUsernameMethod · 0.80
GetHostMethod · 0.80
addCardMethod · 0.80
GetProjectMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected