From dc960c2dfdd24a1702535d4fcc9f4be595a09d6d Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sun, 19 Apr 2026 21:56:51 +0100 Subject: [PATCH] Position overlay so it's where the frequencyValue widget was. --- plugins/feature/freqdisplay/freqdisplaygui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/feature/freqdisplay/freqdisplaygui.cpp b/plugins/feature/freqdisplay/freqdisplaygui.cpp index 9a5d4c2a8..686a98410 100644 --- a/plugins/feature/freqdisplay/freqdisplaygui.cpp +++ b/plugins/feature/freqdisplay/freqdisplaygui.cpp @@ -593,9 +593,9 @@ void FreqDisplayGUI::applyTransparency() this, &FreqDisplayGUI::onExitTransparentMode); connect(m_overlay, &FreqDisplayOverlay::resized, this, &FreqDisplayGUI::updateFrequencyFont); - // Position the overlay at the current screen position of FreqDisplayGUI. - m_overlay->move(mapToGlobal(QPoint(0, 0))); - m_overlay->resize(size()); + // Position the overlay at the current screen position of frequencyValue widget. + m_overlay->move(ui->frequencyValue->mapToGlobal(QPoint(0, 0))); + m_overlay->resize(ui->frequencyValue->size()); applyTextColor(); m_overlay->show(); }