aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/modeldelegates.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-18 13:06:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-18 13:06:33 -0700
commit021a151f0382e8b8cace463969bc9c3607661527 (patch)
tree2febffc7f76f33bd949a3cbcd1834bf55b30f00a /qt-ui/modeldelegates.cpp
parentdb0da1656de0f739072951b6710f8db047f18532 (diff)
downloadsubsurface-021a151f0382e8b8cace463969bc9c3607661527.tar.gz
Location completion: remove space between '~' and distance
Just a minor visual improvement. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/modeldelegates.cpp')
-rw-r--r--qt-ui/modeldelegates.cpp2
1 files changed, 1 insertions, 1 deletions
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()) {