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
8a5dc255
Commit
8a5dc255
authored
Apr 26, 2012
by
Gilles Caulier
🗼
Browse files
use KPMetadata::isRawFile()
parent
78629503
Changes
2
Hide whitespace changes
Inline
Side-by-side
expoblending/manager/actionthread.cpp
View file @
8a5dc255
...
...
@@ -485,7 +485,7 @@ bool ActionThread::startPreProcessing(const KUrl::List& inUrls, ItemUrlsMap& pre
KUrl
url
=
inUrls
.
at
(
i
);
if
(
isRawFile
(
url
.
toLocalFile
()))
if
(
KPMetadata
::
isRawFile
(
url
.
toLocalFile
()))
{
KUrl
preprocessedUrl
,
previewUrl
;
...
...
@@ -711,17 +711,6 @@ bool ActionThread::convertRaw(const KUrl& inUrl, KUrl& outUrl, const RawDecoding
return
true
;
}
bool
ActionThread
::
isRawFile
(
const
KUrl
&
url
)
{
QString
rawFilesExt
(
KDcraw
::
rawFiles
());
QFileInfo
fileInfo
(
url
.
toLocalFile
());
if
(
rawFilesExt
.
toUpper
().
contains
(
fileInfo
.
suffix
().
toUpper
()))
return
true
;
return
false
;
}
bool
ActionThread
::
startEnfuse
(
const
KUrl
::
List
&
inUrls
,
KUrl
&
outUrl
,
const
EnfuseSettings
&
settings
,
const
QString
&
enfusePath
,
QString
&
errors
)
...
...
expoblending/manager/actionthread.h
View file @
8a5dc255
...
...
@@ -58,7 +58,7 @@ class ActionThread : public QThread
public:
explicit
ActionThread
(
QObject
*
parent
);
explicit
ActionThread
(
QObject
*
const
parent
);
~
ActionThread
();
void
setEnfuseVersion
(
const
double
version
);
...
...
@@ -93,7 +93,6 @@ private:
const
QString
&
alignPath
,
QString
&
errors
);
bool
computePreview
(
const
KUrl
&
inUrl
,
KUrl
&
outUrl
);
bool
convertRaw
(
const
KUrl
&
inUrl
,
KUrl
&
outUrl
,
const
RawDecodingSettings
&
settings
);
bool
isRawFile
(
const
KUrl
&
url
);
bool
startEnfuse
(
const
KUrl
::
List
&
inUrls
,
KUrl
&
outUrl
,
const
EnfuseSettings
&
settings
,
...
...
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