1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Remove code that requires Qt 5.14.

This commit is contained in:
Jon Beniston 2021-10-12 15:22:20 +01:00
parent c35cc2181b
commit 5fc585513b

View File

@ -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());