kopia lustrzana https://gitlab.com/eliggett/wfview
Bit of tidying
rodzic
4d158f5078
commit
b110ce7fbb
|
@ -115,7 +115,6 @@ void dxClusterClient::udpDataReceived()
|
||||||
data->timestamp = QDateTime::fromString(spot.firstChildElement("timestamp").text(),"yyyy-MM-dd hh:mm:ss");
|
data->timestamp = QDateTime::fromString(spot.firstChildElement("timestamp").text(),"yyyy-MM-dd hh:mm:ss");
|
||||||
data->mode = spot.firstChildElement("mode").text();
|
data->mode = spot.firstChildElement("mode").text();
|
||||||
data->comment = spot.firstChildElement("comment").text();
|
data->comment = spot.firstChildElement("comment").text();
|
||||||
//emit addSpot(data);
|
|
||||||
|
|
||||||
#ifdef USESQL
|
#ifdef USESQL
|
||||||
database db = database();
|
database db = database();
|
||||||
|
@ -282,12 +281,8 @@ void dxClusterClient::updateSpots()
|
||||||
if (spot.value()->frequency > lowFreq && spot.value()->frequency < highFreq)
|
if (spot.value()->frequency > lowFreq && spot.value()->frequency < highFreq)
|
||||||
{
|
{
|
||||||
spots.append(**spot);
|
spots.append(**spot);
|
||||||
++spot;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
++spot;
|
|
||||||
}
|
}
|
||||||
|
++spot;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7651,9 +7651,7 @@ void wfmain::receiveSpots(QList<spotData> spots)
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
{
|
{
|
||||||
spotData* sp = new spotData();
|
spotData* sp = new spotData(s);
|
||||||
sp->dxcall = s.dxcall;
|
|
||||||
sp->frequency = s.frequency;
|
|
||||||
|
|
||||||
//qDebug(logCluster()) << "ADD:" << sp->dxcall;
|
//qDebug(logCluster()) << "ADD:" << sp->dxcall;
|
||||||
sp->current = true;
|
sp->current = true;
|
||||||
|
|
Ładowanie…
Reference in New Issue