Bug 177185 - Status bar position of current image starts from 0
Summary: Status bar position of current image starts from 0
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-MainView (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 23:10 UTC by Mikolaj Machowski
Modified: 2012-06-27 11:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Machowski 2008-12-07 23:10:50 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Description of first image in album in status bar is:

something.jpg (0 of 435)

Not user-friendly. Should be of course:

something.jpg (1 of 435)

Natural consequence is description of last item as:

somethingx.jpg (434 of 435)

Wrongness of this is obvious I think :)
Comment 1 Mikolaj Machowski 2008-12-07 23:47:06 UTC
*** Bug 177186 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2008-12-08 08:20:03 UTC
Mik,

Just to be sure : it's not reproductible with 0.9.5 ?

Gilles
Comment 3 Mikolaj Machowski 2008-12-08 16:44:07 UTC
Not reproducible in 0.9.5svn
Comment 4 caulier.gilles 2008-12-09 11:15:00 UTC
SVN commit 894737 by cgilles:

sideeffect of Qt4 port : QList::indexOf start count from 0, not 1
BUG: 177185


 M  +6 -4      digikamapp.cpp  
 M  +1 -1      digikamapp.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=894737