1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 03:29:16 +02:00

Fix multiple MSVC warnings

This commit is contained in:
2023-02-25 11:06:14 +01:00
parent 6e2c0472c6
commit 108444d29b
3 changed files with 7 additions and 4 deletions

View File

@ -45,7 +45,7 @@ static void setAreaProperties(Area &area, const QJsonValue &properties)
if (o["fill-opacity"].isDouble())
fillColor.setAlphaF(o["fill-opacity"].toDouble());
else
fillColor.setAlphaF(0.6);
fillColor.setAlphaF(0.6f);
}
area.setStyle(PolygonStyle(fillColor, strokeColor, strokeWidth));