Bug 217096 - Image editor tool lenscorrection: lens combobox not sorted by alphabetically order [patch]
Summary: Image editor tool lenscorrection: lens combobox not sorted by alphabetically ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-LensCorrection (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 17:43 UTC by Jens Mueller
Modified: 2017-07-09 18:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
PATCH (1.43 KB, patch)
2009-12-02 17:46 UTC, Jens Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Mueller 2009-12-02 17:43:29 UTC
Version:            (using KDE 4.3.3)
OS:                Linux
Installed from:    Ubuntu Packages

The lens combobox of the lens autocorrection tool in digikam is not sorted by alphabetically order.
Comment 1 Jens Mueller 2009-12-02 17:46:10 UTC
Created attachment 38769 [details]
PATCH

do a manually sorting of the underlying model after inserting items and remove insertPolicy because it is only used with user generated input. As the input is static no policy is needed.
Comment 2 Johannes Wienke 2009-12-02 21:23:07 UTC
SVN commit 1057560 by jwienke:

Applied Jens' patch to sort lenses alphabetically in lensfun plugin.

Thanks for the patch.

BUG: 217096

 M  +2 -1      NEWS  
 M  +3 -3      imageplugins/lenscorrection/autocorrection/klensfun.cpp  


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