| 111 | } |
| 112 | |
| 113 | void SessionsManager::addProjectToSession(const io::path_t& projectPath) |
| 114 | { |
| 115 | io::paths_t projects = configuration()->sessionProjectsPaths(); |
| 116 | |
| 117 | if (std::find(projects.begin(), projects.end(), projectPath) == projects.end()) { |
| 118 | projects.push_back(projectPath); |
| 119 | } |
| 120 | |
| 121 | configuration()->setSessionProjectsPaths(projects); |
| 122 | } |
nothing calls this directly
no test coverage detected