Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
+5
-5
@@ -47,22 +47,22 @@ bool CustomViewDangerArea::init(const QModelIndex &idx)
|
||||
|
||||
bool CustomViewDangerArea::calculateIcon(const AreaEffectSimulation::DangerArea &area, const QColor &color)
|
||||
{
|
||||
if (area.segments().size() == 0)
|
||||
if (area.segments.size() == 0)
|
||||
return false;
|
||||
|
||||
QVector<QPointF> segments;
|
||||
segments.reserve(area.segments().size());
|
||||
segments.reserve(area.segments.size());
|
||||
int setZone = -1;
|
||||
for (const Core::GeoPosition2D &s : area.segments())
|
||||
for (const Core::GeoPosition2D &s : area.segments)
|
||||
{
|
||||
const LtsCoordTrans::UtmCoordinate coord(LtsCoordTrans::UtmCoordinate::fromGeographic(s.lon(), s.lat(), setZone));
|
||||
const LtsCoordTrans::UtmCoordinate coord(LtsCoordTrans::UtmCoordinate::fromGeographic(s.lon, s.lat, setZone));
|
||||
if (setZone < 0)
|
||||
setZone = coord.zone;
|
||||
segments.append(QPointF(coord.x, coord.y));
|
||||
}
|
||||
|
||||
QPolygonF poly = AreaEffectSimulation::Polygons::dangerArea(segments);
|
||||
Qt::BrushStyle bStyle = PixmapLabel::checkForBrushStyle(area.effectStateId());
|
||||
Qt::BrushStyle bStyle = PixmapLabel::checkForBrushStyle(area.effectStateId);
|
||||
const auto pix = Polygons::pixmapFromPolygon(poly, color, ICON_RESOLUTION, bStyle);
|
||||
m_ui->lblIcon->setPixmap(pix);
|
||||
|
||||
|
||||
Reference in new issue
Block a user