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
80343778
Commit
80343778
authored
Apr 26, 2012
by
Gilles Caulier
🗼
Browse files
factorize
parent
c0174496
Changes
2
Hide whitespace changes
Inline
Side-by-side
flickrexport/flickrtalker.cpp
View file @
80343778
...
...
@@ -74,7 +74,7 @@ using namespace KIPIPlugins;
namespace
KIPIFlickrExportPlugin
{
FlickrTalker
::
FlickrTalker
(
QWidget
*
parent
,
const
QString
&
serviceName
)
FlickrTalker
::
FlickrTalker
(
QWidget
*
const
parent
,
const
QString
&
serviceName
)
{
m_parent
=
parent
;
m_job
=
0
;
...
...
@@ -609,10 +609,7 @@ bool FlickrTalker::addPhoto(const QString& photoPath, const FPhotoInfo& info,
QImage
image
;
// Check if RAW file.
QString
rawFilesExt
(
KDcrawIface
::
KDcraw
::
rawFiles
());
QFileInfo
fileInfo
(
photoPath
);
if
(
rawFilesExt
.
toUpper
().
contains
(
fileInfo
.
suffix
().
toUpper
()))
if
(
KPMetadata
::
isRawFile
(
photoPath
))
{
KDcrawIface
::
KDcraw
::
loadDcrawPreview
(
image
,
photoPath
);
}
...
...
flickrexport/flickrtalker.h
View file @
80343778
...
...
@@ -72,7 +72,7 @@ public:
public:
FlickrTalker
(
QWidget
*
parent
,
const
QString
&
serviceName
);
FlickrTalker
(
QWidget
*
const
parent
,
const
QString
&
serviceName
);
~
FlickrTalker
();
QString
getUserName
()
const
;
...
...
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