gwenview: fix regression since d797a3e2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2015-12-27 07:35:48 +02:00
parent d797a3e24b
commit 4099e8fb8a

View file

@ -160,7 +160,7 @@ private:
} else if(orientation != 0 || orientation != 90
|| orientation != 180 || orientation != 270) {
kWarning() << "Can't represent an orientation value of" << orientation << "as an angle (" << _url << ')';
return 0; {
return 0;
} else {
return orientation;
}