]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinTreeView contains some code to update the selection after a
authorFrank Reininghaus <frank78ac@googlemail.com>
Sun, 16 Jan 2011 18:35:36 +0000 (18:35 +0000)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sun, 16 Jan 2011 18:35:36 +0000 (18:35 +0000)
commite5a0ce83fdd6ea02598df8dece4ce9c89bfd6240
treefcb69f7b3923c85efb37292016801765261fd867
parentae59d894c2691b02e3ce63707b590ff797d9e7b6
DolphinTreeView contains some code to update the selection after a
keyboard search because QTreeView (unlike the other item views) does
not handle this internally.

This commit simplifies that code by performing the selection update in
the method keyboardSearch(). That way, we can get rid of the member
m_updateCurrentIndex and of 3 member functions. The unit tests still
pass, so I'm quite confident that this does not break anything.

svn path=/trunk/KDE/kdebase/apps/; revision=1214865
src/views/dolphintreeview.cpp
src/views/dolphintreeview.h