changeset 36:92bb9687d716

(issue12) Count from 1 to max + 1 This is more intutive then counting from zero
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 16:10:01 +0200
parents f10d4e035eec
children 0c05958d254c
files src/pngplayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pngplayer.cpp	Wed May 06 16:08:41 2015 +0200
+++ b/src/pngplayer.cpp	Wed May 06 16:10:01 2015 +0200
@@ -127,7 +127,7 @@
     mSlider->blockSignals(false);
     mSlider->setMaximum(max);
     mPositionLabel->setText("<b>" + tr("Screenshot Nr.:") + " </b>" +
-            QString("%1 (%2)").arg(current).arg(max) + " / <b>" +
+            QString("%1 (%2)").arg(current + 1).arg(max + 1) + " / <b>" +
         tr("Timestamp:") + " </b>" + (timestamp.isValid() ?
             timestamp.toString(LONG_DATE_FORMAT) : tr("Unknown")));
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)