| 1201 | } |
| 1202 | |
| 1203 | bool MainWindow::profileLoadPanDimensionsMatchExpected(const QString& panId, |
| 1204 | SpectrumWidget* sw) const |
| 1205 | { |
| 1206 | auto expectedIt = m_profileLoadPendingFftYpixels.find(panId); |
| 1207 | if (expectedIt == m_profileLoadPendingFftYpixels.end()) { |
| 1208 | return true; |
| 1209 | } |
| 1210 | |
| 1211 | return sw |
| 1212 | && panPixelDimensionsReady(sw) |
| 1213 | && panYpixelsFor(sw) == expectedIt.value(); |
| 1214 | } |
| 1215 | |
| 1216 | void MainWindow::retryProfileLoadPanDimensions(const QString& panId, SpectrumWidget* sw) |
| 1217 | { |
nothing calls this directly
no test coverage detected