1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

Update Star Tracker to work with latest MapItem API

This commit is contained in:
Jon Beniston 2022-02-04 17:15:06 +00:00
parent 04aed0b3b3
commit 85b8a6992f

View File

@ -427,7 +427,6 @@ void StarTrackerWorker::sendToMap(QList<MessageQueue*> *mapMessageQueues, QStrin
swgMapItem->setImage(new QString(image)); swgMapItem->setImage(new QString(image));
swgMapItem->setImageRotation(rotation); swgMapItem->setImageRotation(rotation);
swgMapItem->setText(new QString(text)); swgMapItem->setText(new QString(text));
swgMapItem->setImageMinZoom(3);
MainCore::MsgMapItem *msg = MainCore::MsgMapItem::create(m_starTracker, swgMapItem); MainCore::MsgMapItem *msg = MainCore::MsgMapItem::create(m_starTracker, swgMapItem);
(*it)->push(msg); (*it)->push(msg);