From 0db9bbdea7e5f0c84f0e243e8897e5ea23bfab2c Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 6 Oct 2015 19:47:44 +0300 Subject: Fix typo on string formatting option Signed-off-by: Miika Turkia 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 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()) { -- cgit v1.2.3-70-g09d2