MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / initWindowService

Method initWindowService

src/plugins/git/git.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void Git::initWindowService()
43{
44 auto &ctx = dpfInstance.serviceContext();
45 WindowService *windowService = ctx.service<WindowService>(WindowService::name());
46 if (!windowService)
47 return;
48
49 GitMenuManager::instance()->initialize();
50 windowService->addStatusBarItem(GitClient::instance()->instantBlameWidget());
51}

Callers

nothing calls this directly

Calls 4

addStatusBarItemMethod · 0.80
instantBlameWidgetMethod · 0.80
nameFunction · 0.50
initializeMethod · 0.45

Tested by

no test coverage detected