Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Kipi Plugins
Commits
c0174496
Commit
c0174496
authored
Apr 26, 2012
by
Gilles Caulier
🗼
Browse files
factorize
parent
c1efab61
Changes
1
Hide whitespace changes
Inline
Side-by-side
flashexport/simpleviewer.cpp
View file @
c0174496
...
...
@@ -482,8 +482,7 @@ void SimpleViewer::processKUrlList(KUrl::List& images, QDomDocument& xmlDoc,
d
->
progressWdg
->
addedAction
(
i18n
(
"Processing %1"
,
url
.
fileName
()),
StartingMessage
);
// Check if RAW file.
QString
rawFilesExt
(
KDcrawIface
::
KDcraw
::
rawFiles
());
if
(
rawFilesExt
.
toUpper
().
contains
(
fi
.
suffix
().
toUpper
()))
if
(
KPMetadata
::
isRawFile
(
url
))
KDcrawIface
::
KDcraw
::
loadDcrawPreview
(
image
,
url
.
path
());
else
image
.
load
(
url
.
path
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment