Summary: | the camera gui always puts *.JPG and *.NEF in the configure - digikam dialog/File Mime Types/ Image Files. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | alex cozzi <alexcozzi> |
Component: | Import-Settings | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
alex cozzi
2006-05-20 06:23:13 UTC
SVN commit 546568 by cgilles: digikam from trunk : check properlly the camera items extension before to add it in mime type config using a lower char conversion. BUG: 127697 M +5 -6 cameraui.cpp --- trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp #546567:546568 @@ -930,14 +930,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(); } 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(); } |