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->mode = spot.firstChildElement("mode").text();
|
||||
data->comment = spot.firstChildElement("comment").text();
|
||||
//emit addSpot(data);
|
||||
|
||||
#ifdef USESQL
|
||||
database db = database();
|
||||
|
@ -282,12 +281,8 @@ void dxClusterClient::updateSpots()
|
|||
if (spot.value()->frequency > lowFreq && spot.value()->frequency < highFreq)
|
||||
{
|
||||
spots.append(**spot);
|
||||
++spot;
|
||||
}
|
||||
else
|
||||
{
|
||||
++spot;
|
||||
}
|
||||
++spot;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -7651,9 +7651,7 @@ void wfmain::receiveSpots(QList<spotData> spots)
|
|||
|
||||
if (!found)
|
||||
{
|
||||
spotData* sp = new spotData();
|
||||
sp->dxcall = s.dxcall;
|
||||
sp->frequency = s.frequency;
|
||||
spotData* sp = new spotData(s);
|
||||
|
||||
//qDebug(logCluster()) << "ADD:" << sp->dxcall;
|
||||
sp->current = true;
|
||||
|
|
Ładowanie…
Reference in New Issue