diff src/pngplayer.cpp @ 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 40a683d1a318
children 0c05958d254c
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)