]> cloud.milkyroute.net Git - dolphin.git/commitdiff
fix display of image orientation
authorAlexander Stippich <a.stippich@gmx.net>
Mon, 7 Jan 2019 20:44:50 +0000 (21:44 +0100)
committerAlexander Stippich <a.stippich@gmx.net>
Mon, 7 Jan 2019 20:53:01 +0000 (21:53 +0100)
Summary:
The name of the orientation property
for baloo/kfilemetadata was false, leading to
an always empty image orientation field.

Test Plan:
Look at an image in Dolphin details view
which has the exiv orientation tag set. Orientation
column is not empty.

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18008

src/kitemviews/private/kbaloorolesprovider.cpp

index 0e9aef71e7728e66c009fea83bfa35d43b04a6e4..41184e119ce0f032219972aca46ee9efce8b2911 100644 (file)
@@ -129,7 +129,7 @@ KBalooRolesProvider::KBalooRolesProvider() :
         { "width",         "width" },
         { "height",        "height" },
         { "imageDateTime",   "imageDateTime"},
-        { "nexif.orientation", "orientation", },
+        { "imageOrientation", "orientation", },
         { "artist",     "artist" },
         { "genre",     "genre"  },
         { "album",    "album" },