]> cloud.milkyroute.net Git - dolphin.git/commit
When Esc is pressed, clear the selection and cancel the keyboard search
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 25 Apr 2012 07:17:30 +0000 (09:17 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 25 Apr 2012 07:17:43 +0000 (09:17 +0200)
commit90baf5a8977caf5cbc1cd9c161c56e97e02a1aef
treea4aacb24b2eeadd8554388985aa52768128268b1
parentfa447df6428ae0182073a681a33b78d2ac9343a5
When Esc is pressed, clear the selection and cancel the keyboard search

This patch restores the Dolphin 1.x behaviour that Esc clears the
selection (Dolphin 2.0 did not have an easy way to clear the selection
using the keyboard so far). Moreover, Esc now also cancels the current
keyboard search. This fixes the problem that the only way to cancel the
search is to wait until the timeout has expired.

CCBUG: 298742
CCBUG: 297458
(cherry picked from commit d3b1312d3edc615b03fb17c1a5fa62ccb61cdabd)
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
src/kitemviews/private/kitemlistkeyboardsearchmanager.h