| 130 | } |
| 131 | |
| 132 | void GitMenuManager::createGitSubMenu() |
| 133 | { |
| 134 | auto mGit = ActionManager::instance()->actionContainer(M_GIT); |
| 135 | auto mCurFile = ActionManager::instance()->createContainer(M_GIT_FILE); |
| 136 | mCurFile->menu()->setTitle(tr("Current File")); |
| 137 | mCurFile->containerAction()->setEnabled(false); |
| 138 | mGit->addMenu(mCurFile); |
| 139 | createFileSubMenu(); |
| 140 | |
| 141 | auto mCurProject = ActionManager::instance()->createContainer(M_GIT_PROJECT); |
| 142 | mCurProject->menu()->setTitle(tr("Current Project")); |
| 143 | mCurProject->containerAction()->setEnabled(false); |
| 144 | mGit->addMenu(mCurProject); |
| 145 | createProjectSubMenu(); |
| 146 | } |
| 147 | |
| 148 | void GitMenuManager::createFileSubMenu() |
| 149 | { |
nothing calls this directly
no test coverage detected