| 48 | } |
| 49 | |
| 50 | sort_t SortMode::fromConfigKey(const std::string& key) |
| 51 | { |
| 52 | for (const SortMode& m : all()) { |
| 53 | if (key == m.configKey) { |
| 54 | return m.mode; |
| 55 | } |
| 56 | } |
| 57 | return SORT_ALPHA; |
| 58 | } |
nothing calls this directly
no outgoing calls
no test coverage detected