[Digikam-devel] [Bug 127697] the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files.
Gilles Caulier
caulier.gilles at free.fr
Tue May 30 14:02:06 BST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=127697
------- Additional Comments From caulier.gilles free fr 2006-05-30 15:02 -------
SVN commit 546573 by cgilles:
digikam from stable : check properlly the camera items extension before to add it in mime type config using a lower char conversion.
CCBUGS: 127697
M +5 -6 cameraui.cpp
--- branches/stable/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp #546572:546573
@ -715,14 +715,13 @
if (!settings)
return;
- if (settings->getImageFileFilter().contains(ext) ||
- settings->getMovieFileFilter().contains(ext) ||
- settings->getAudioFileFilter().contains(ext) ||
- settings->getRawFileFilter().contains(ext))
+ if (settings->getImageFileFilter().upper().contains(ext.upper()) ||
+ settings->getMovieFileFilter().upper().contains(ext.upper()) ||
+ settings->getAudioFileFilter().upper().contains(ext.upper()) ||
+ settings->getRawFileFilter().upper().contains(ext.upper()))
return;
- settings->setImageFileFilter(settings->getImageFileFilter() +
- QString(" *.") + ext);
+ settings->setImageFileFilter(settings->getImageFileFilter() + QString(" *.") + ext);
emit signalAlbumSettingsChanged();
}
More information about the Digikam-devel
mailing list