mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Remove code that requires Qt 5.14.
This commit is contained in:
parent
c35cc2181b
commit
5fc585513b
@ -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
|
if (!line.startsWith("%") && (line.size() > 0)) // Lines starting with % are comments
|
||||||
{
|
{
|
||||||
// 4 cols: v_lsr [km/s], T_B [K], freq. [Mhz], wavel. [cm]
|
// 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)
|
if (cols.size() == 4)
|
||||||
{
|
{
|
||||||
m_vlsr.append(cols[0].toFloat());
|
m_vlsr.append(cols[0].toFloat());
|
||||||
|
Loading…
Reference in New Issue
Block a user