summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-10-06 19:47:44 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-06 21:22:58 +0100
commit0db9bbdea7e5f0c84f0e243e8897e5ea23bfab2c (patch)
treead457ecd02de68b85b41b33163187ac13eaf1e00 /qt-ui
parent786f164046af5fdc6f676b8ae86928181f2d214c (diff)
downloadsubsurface-0db9bbdea7e5f0c84f0e243e8897e5ea23bfab2c.tar.gz
Fix typo on string formatting option
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-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 4f4fc7e79..5ec851a20 100644
--- a/qt-ui/modeldelegates.cpp
+++ b/qt-ui/modeldelegates.cpp
@@ -543,7 +543,7 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem
QString distance = distance_string(distanceMeters);
int nr = nr_of_dives_at_dive_site(ds->uuid, false);
bottomText += tr(" (~%1 away").arg(distance);
- bottomText += tr(", %n dive(s) here)").arg(nr);
+ bottomText += tr(", %1 dive(s) here)").arg(nr);
}
}
if (bottomText.isEmpty()) {