From 5fc585513b783bf6f4819034c2762002d9676007 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 12 Oct 2021 15:22:20 +0100 Subject: [PATCH] Remove code that requires Qt 5.14. --- plugins/channelrx/radioastronomy/radioastronomygui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/radioastronomy/radioastronomygui.cpp b/plugins/channelrx/radioastronomy/radioastronomygui.cpp index a4660ba0b..177e95c35 100644 --- a/plugins/channelrx/radioastronomy/radioastronomygui.cpp +++ b/plugins/channelrx/radioastronomy/radioastronomygui.cpp @@ -184,7 +184,8 @@ void RadioAstronomyGUI::LABData::read(QFile* file, float l, float b) if (!line.startsWith("%") && (line.size() > 0)) // Lines starting with % are comments { // 4 cols: v_lsr [km/s], T_B [K], freq. [Mhz], wavel. [cm] - QStringList cols = line.split(" ", Qt::SkipEmptyParts); + line = line.simplified(); + QStringList cols = line.split(" "); if (cols.size() == 4) { m_vlsr.append(cols[0].toFloat());