1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-23 19:25:54 +01:00

Cosmetics

This commit is contained in:
Martin Tůma 2022-01-27 00:32:52 +01:00
parent 0b3e54abf2
commit 52b6ff697f

View File

@ -455,10 +455,7 @@ static QString cameraDesc(quint16 flags)
return "Red light camera";
else {
QString desc(QString::number(speed(flags)) + " " + units(flags));
if (portable(flags))
return "<i>" + desc + "<i>";
else
return desc;
return portable(flags) ? "<i>" + desc + "<i>" : desc;
}
}