From 467451e37d4af8536d7217f42f2fae677dff4ee7 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Mon, 26 Aug 2024 20:46:26 +0200 Subject: [PATCH] Fix a compatibility issue with Qt 5.12. --- widgets/displaytext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp index 147255c91..3d0db7087 100644 --- a/widgets/displaytext.cpp +++ b/widgets/displaytext.cpp @@ -567,11 +567,11 @@ void DisplayText::setHighlightedHoundText(QString t) { set_colours(m_config, &bg, &fg, types); // t is multiple lines of text, each line is a hound calling // iterate through each line and highlight the callsign - auto lines = t.split(QChar('\n'), Qt::SkipEmptyParts); + auto lines = t.split(QChar('\n'), SkipEmptyParts); clear(); foreach (auto line, lines) { - auto fields = line.split(QChar(' '), Qt::SkipEmptyParts); + auto fields = line.split(QChar(' '), SkipEmptyParts); insertText(line, bg, fg, fields.first(), QString{}); } }