From c892ed558d089fba55804decef7615d6c929a8b9 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 2 May 2022 01:10:14 +0200 Subject: [PATCH] VOR localizer feature: fixed segfault on exit --- plugins/feature/vorlocalizer/vorlocalizerworker.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/feature/vorlocalizer/vorlocalizerworker.cpp b/plugins/feature/vorlocalizer/vorlocalizerworker.cpp index ebe1cd3e4..5b64def9a 100644 --- a/plugins/feature/vorlocalizer/vorlocalizerworker.cpp +++ b/plugins/feature/vorlocalizer/vorlocalizerworker.cpp @@ -395,11 +395,8 @@ void VorLocalizerWorker::updateChannels() for (auto rrChannel : rrPlan.m_channels) { - qDebug() << "VorLocalizerWorker::updateChannels: RR channel: " - << "channel:" << rrChannel.m_channelAPI - << "index:" << rrChannel.m_channelIndex - << "shift:" << rrChannel.m_frequencyShift - << "navId:" << rrChannel.m_navId; + qDebug("VorLocalizerWorker::updateChannels: RR channel: %p index: %d shift: %d navId: %d", + rrChannel.m_channelAPI, rrChannel.m_channelIndex, rrChannel.m_frequencyShift, rrChannel.m_navId); } } }