]> cloud.milkyroute.net Git - dolphin.git/commit
Remove current item highlighting in the Places Panel
authorFrank Reininghaus <frank78ac@googlemail.com>
Fri, 27 Jun 2014 11:02:12 +0000 (13:02 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 3 Jul 2014 22:42:38 +0000 (00:42 +0200)
commit4d8f89f55a030758bf818a668bf6edad451df356
treefcbd60b54af29442d5e5c4bead7ebadbddb1d069
parent1e22db8ba5854d3b596718d370aa0ae1a49ea1ec
Remove current item highlighting in the Places Panel

In the Places Panel, there is always exactly one selected item, which is
equal to the current item. Since the selected item is highlighted by
drawing its background in a different color, it is not really necessary
to highlight additionally that it is the current item.

This is achieved by removing the calls to
KItemListWidget::setCurrent(true) from KItemListView. The "current"
information in the widget is only used for deciding if the "current item
highlighting", like an underline in Oxygen, should be drawn.

The motivation for this change is that I have seem some complaints about
the "current item" highlighting, which can be even more distracting with
non-Oxygen styles.

REVIEW: 119019
src/kitemviews/kitemlistview.cpp