Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
libkexiv2
Commits
df4f4dc2
Commit
df4f4dc2
authored
Nov 26, 2014
by
Gilles Caulier
🗼
Browse files
wrong test : this must be an AND operator, not OR
BUGS: 341298
FIXED-IN: 4.6.0
parent
1a9009a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
libkexiv2/kexiv2exif.cpp
View file @
df4f4dc2
...
...
@@ -931,7 +931,7 @@ bool KExiv2::rotateExifQImage(QImage& image, ImageOrientation orientation) const
{
QMatrix
matrix
=
RotationMatrix
::
toMatrix
(
orientation
);
if
((
orientation
!=
ORIENTATION_NORMAL
)
||
(
orientation
!=
ORIENTATION_UNSPECIFIED
))
if
((
orientation
!=
ORIENTATION_NORMAL
)
&&
(
orientation
!=
ORIENTATION_UNSPECIFIED
))
{
image
=
image
.
transformed
(
matrix
);
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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