From 021a151f0382e8b8cace463969bc9c3607661527 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 18 Jul 2015 13:06:33 -0700 Subject: Location completion: remove space between '~' and distance Just a minor visual improvement. Signed-off-by: Dirk Hohndel --- qt-ui/modeldelegates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index 91b6c6efd..4078621ab 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -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()) { -- cgit v1.2.3-70-g09d2