┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorJulian Schraner <[email protected]>2018-04-01 11:26:49 -0600
committerNathaniel Graham <[email protected]>2018-04-01 11:27:44 -0600
commit1441fefc07f126c1c9eddc3e9f1babff8b762b28 (patch)
treefbd20b104e95874d6d766814c47d3ebfdfa364df /src/panels
parent6f3b0e3d00e12c8f6d6cbc3953ee31d3c4cfa7c7 (diff)
Split Image Size into Width/Height
Summary: This patch splits the single property "Image Size" into "Width" and "Height", providing more fine-tuned control for power users. FEATURE: 374559 Test Plan: - Sorting works correctly - No real change, only exposed differently Reviewers: #dolphin, elvisangelaccio, ngraham Reviewed By: #dolphin, elvisangelaccio, ngraham Subscribers: ngraham, elvisangelaccio Differential Revision: https://phabricator.kde.org/D11816
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/places/placesitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp
index 371417a23..1270d2473 100644
--- a/src/panels/places/placesitemmodel.cpp
+++ b/src/panels/places/placesitemmodel.cpp
@@ -456,7 +456,7 @@ void PlacesItemModel::initializeDefaultViewProperties() const
} else if (path == QLatin1String("/images")) {
props.setViewMode(DolphinView::IconsView);
props.setPreviewsShown(true);
- props.setVisibleRoles({"text", "imageSize"});
+ props.setVisibleRoles({"text", "height", "width"});
} else if (path == QLatin1String("/audio")) {
props.setViewMode(DolphinView::DetailsView);
props.setPreviewsShown(false);