| 59 | } |
| 60 | |
| 61 | wxString ActiveProjects::Find(const FilePath &path) |
| 62 | { |
| 63 | const auto activeProjectsGroup = gPrefs->BeginGroup("/ActiveProjects"); |
| 64 | for(const auto& key : gPrefs->GetChildKeys()) |
| 65 | { |
| 66 | if(gPrefs->Read(key, wxT("")).IsSameAs(path)) |
| 67 | return key; |
| 68 | } |
| 69 | return {}; |
| 70 | } |
| 71 |
nothing calls this directly
no test coverage detected