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
60eb490f
Commit
60eb490f
authored
Apr 26, 2012
by
Gilles Caulier
🗼
Browse files
factorize
parent
ff1972b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
debianscreenshots/dswindow.cpp
View file @
60eb490f
...
...
@@ -45,6 +45,7 @@
#include
"kpimageslist.h"
#include
"kpaboutdata.h"
#include
"kpmetadata.h"
#include
"kpprogresswidget.h"
// Local includes
...
...
@@ -111,7 +112,7 @@ DsWindow::DsWindow(Interface* const interface, const QString& tmpFolder, QWidget
ki18n
(
"(c) 2010, Pau Garcia i Quiles
\n
"
));
about
->
addAuthor
(
ki18n
(
"Pau Garcia i Quiles"
),
ki18n
(
"Author and maintainer"
),
"pgquiles at elpauer dot org"
);
"pgquiles at elpauer dot org"
);
about
->
handbookEntry
=
QString
(
"debianscreenshots"
);
setAboutData
(
about
);
...
...
@@ -273,9 +274,7 @@ void DsWindow::uploadNextPhoto()
}
// check if we have to RAW file -> use preview image then
QString
rawFilesExt
(
KDcrawIface
::
KDcraw
::
rawFiles
());
QFileInfo
fileInfo
(
imgPath
);
if
(
rawFilesExt
.
toUpper
().
contains
(
fileInfo
.
suffix
().
toUpper
())
)
if
(
KPMetadata
::
isRawFile
(
imgPath
)
)
{
massageRequired
=
DsWindow
::
ImageIsRaw
;
}
...
...
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