Location completion: remove space between '~' and distance

Just a minor visual improvement.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-18 13:06:33 -07:00
parent db0da1656d
commit 021a151f03

View file

@ -542,7 +542,7 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem
} else {
int distanceMeters = get_distance(ds->latitude, ds->longitude, displayed_dive_site.latitude, displayed_dive_site.longitude);
QString distance = distance_string(distanceMeters);
bottomText += tr(" (~ %1 away)").arg(distance);
bottomText += tr(" (~%1 away)").arg(distance);
}
}
if (bottomText.isEmpty()) {