knobtest
Phil Taylor 2022-10-05 14:26:42 +01:00
rodzic 4d158f5078
commit b110ce7fbb
2 zmienionych plików z 2 dodań i 9 usunięć

Wyświetl plik

@ -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

Wyświetl plik

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