Bug 217096

Summary: Image editor tool lenscorrection: lens combobox not sorted by alphabetically order [patch]
Product: [Applications] digikam Reporter: Jens Mueller <tschenser>
Component: Plugin-Editor-LensCorrectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Attachments: PATCH

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