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

Method onOpenProjectDirectory

AdaptixClient/Source/UI/MainUI.cpp:280–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void MainUI::onOpenProjectDirectory()
281{
282 AuthProfile* profile = GetCurrentProfile();
283 if (!profile)
284 return;
285
286 QString projectDir = profile->GetProjectDir();
287 if (projectDir.isEmpty())
288 return;
289
290 QDesktopServices::openUrl(QUrl::fromLocalFile(projectDir));
291}
292
293void MainUI::onTabChanged(int index)
294{

Callers

nothing calls this directly

Calls 2

GetProjectDirMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected