Simplify KItemListViewLayouter by ensuring that it always has a size hint resolver

Review Request #115550 - Created Feb. 8, 2014 and submitted

Information
Frank Reininghaus
kde-baseapps
master
Reviewers
dolphin
KItemListViewLayouter uses a KItemListSizeHintResolver to find out how much space the items will need in the view.

Currently, the size hint resolver object can be changed at runtime, and it can also be null. However, we never make use of these possibilities, so all the code that checks if m_sizeHintResolver is null is not needed at all. I propose to drop these options and simplify the code accordingly.
The view layout still works fine in all view modes for me.
Emmanuel Pescosta
Frank Reininghaus
Review request changed

Status: Closed (submitted)

Change Summary:

Forgot the REVIEW: tag in the commit messge: http://commits.kde.org/kde-baseapps/cba1533b74cb5b096808d92366f5fb8273ed4100
Loading...