From fbd4270f5944f276343df18c91bc5b8d9288e248 Mon Sep 17 00:00:00 2001 From: John Evanson Date: Mon, 18 Nov 2024 14:02:32 -0500 Subject: [PATCH] Bandmap: add spotter to spot tooltip Added the spotter's callsign to the tooltip you get when mousing over a spot on the bandmap. It is often convenient to see if it's a local-ish station spotting it or someone across the globe. --- ui/BandmapWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/BandmapWidget.cpp b/ui/BandmapWidget.cpp index 2326d480..7e153a83 100644 --- a/ui/BandmapWidget.cpp +++ b/ui/BandmapWidget.cpp @@ -233,7 +233,9 @@ void BandmapWidget::updateStations() QString unit; unsigned char decP; double spotFreq = Data::MHz2UserFriendlyFreq(lower.key(), unit, decP); - text->setToolTip(QString("%1
%2 %3; %4
%5").arg(callsignTmp, + const QString &spotterCallsign = lower.value().spotter; + text->setToolTip(QString("%1 de %2
%3 %4; %5
%6").arg(callsignTmp, + spotterCallsign, QString::number(spotFreq, 'f', decP), unit, lower.value().modeGroupString,