1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Fix linux warnings

This commit is contained in:
Jon Beniston
2022-02-04 22:42:05 +00:00
parent bce51d09d7
commit df8451dbde
6 changed files with 12 additions and 9 deletions
+1 -3
View File
@@ -444,6 +444,7 @@ void AISGUI::sendToMap(const QString &name, const QString &label,
swgMapItem->setImage(new QString(QString("qrc:///ais/map/%1").arg(image)));
}
swgMapItem->setModel(new QString(model));
swgMapItem->setModelAltitudeOffset(modelOffset);
swgMapItem->setLabel(new QString(label));
swgMapItem->setLabelAltitudeOffset(labelOffset);
swgMapItem->setFixedPosition(false);
@@ -974,9 +975,6 @@ void AISGUI::vessels_customContextMenuRequested(QPoint pos)
// Find on Map
if (!latitudeV.isNull())
{
float latitude = latitudeV.toFloat();
float longitude = longitudeV.toFloat();
tableContextMenu->addSeparator();
QAction* findMapFeatureAction = new QAction(QString("Find MMSI %1 on map").arg(mmsi), tableContextMenu);