| 51 | static constexpr int WF_LINE_DURATION_MAX_MS = 100; |
| 52 | |
| 53 | SliceModel* antennaTargetSliceForPan(RadioModel* radioModel, |
| 54 | SliceModel* currentSlice, |
| 55 | const QString& panId) |
| 56 | { |
| 57 | if (currentSlice && (panId.isEmpty() || currentSlice->panId() == panId)) { |
| 58 | return currentSlice; |
| 59 | } |
| 60 | |
| 61 | if (radioModel && !panId.isEmpty()) { |
| 62 | for (SliceModel* candidate : radioModel->slices()) { |
| 63 | if (candidate && candidate->panId() == panId) { |
| 64 | return candidate; |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | return currentSlice; |
| 70 | } |
| 71 | |
| 72 | static QString rateSliderLabelText(int sliderValue) |
| 73 | { |
no test coverage detected