From 02a7fc2ddabfc97e8bbcd87258dc203eb043dd12 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Mon, 5 Jun 2023 11:00:26 +0100 Subject: [PATCH] QT5 compile error fix? --- cachingqueue.cpp | 2 +- spectrumscope.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cachingqueue.cpp b/cachingqueue.cpp index 8113a204..464589ef 100644 --- a/cachingqueue.cpp +++ b/cachingqueue.cpp @@ -71,7 +71,7 @@ void cachingQueue::run() } counter++; - auto it = queue.constFind(prio); + QMultiMap::const_iterator it = queue.constFind(prio); if (it != queue.cend()) { auto item = it.value(); diff --git a/spectrumscope.cpp b/spectrumscope.cpp index 218e7198..8c444f5b 100644 --- a/spectrumscope.cpp +++ b/spectrumscope.cpp @@ -547,13 +547,11 @@ bool spectrumScope::update(scopeData data) if (data.oor && !oorIndicator->visible()) { oorIndicator->setVisible(true); - //oorIndicator->position->setCoords((oldLowerFreq+oldUpperFreq)/2,ui->topLevelSlider->value() - 20); qInfo(logSystem()) << "Scope out of range"; } else if (!data.oor && oorIndicator->visible()) { oorIndicator->setVisible(false); } - //ovfIndicator->setVisible(true); return true; }