| 27 | } // namespace |
| 28 | |
| 29 | Mode currentMode() |
| 30 | { |
| 31 | // Default to "Global" so existing users see no change until they |
| 32 | // opt into RadioIndexed mode in Settings. |
| 33 | const QString s = AppSettings::instance() |
| 34 | .value("SliceLetterDisplay", "Global").toString(); |
| 35 | return (s == "RadioIndexed") ? Mode::RadioIndexed : Mode::Global; |
| 36 | } |
| 37 | |
| 38 | int displayColorIndex(int globalSliceId, const QString& radioLetter) |
| 39 | { |
no test coverage detected