┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2012-04-25 09:16:27 +0200
committerFrank Reininghaus <[email protected]>2012-04-25 09:16:39 +0200
commitfa447df6428ae0182073a681a33b78d2ac9343a5 (patch)
tree8d6edc5d4b8c473ed3b835b3ef159e51c4beb197 /src
parent67f58d5082cbab3a1a4a83926e77ade299ec07ea (diff)
Reduce the timeout in KItemListKeyboardSearchManager to 1 second
It turned out that the longer timeout, introduced recently in 02eab49b2de51c31fe46a0d9501327b579b3648e, not only made multi-letter keyboard searches easier, but also had some unwanted side effects. I hope that 1 second, which is between the previous value of 5 seconds and the pre-KDE 4.8.2 value of 0.4 seconds, is a compromise which will fit most users' needs. We will try to improve the situation further in future releases by providing visual feedback about the keyboard search, but such a change would not be suitable for a bug-fix release. (cherry picked from commit d8732a59d3b1f2d0bebf43f294df7e9f333abde4)
Diffstat (limited to 'src')
-rw-r--r--src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp b/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
index 2f4e93b1d..cfd19f58a 100644
--- a/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
+++ b/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
@@ -29,7 +29,7 @@
KItemListKeyboardSearchManager::KItemListKeyboardSearchManager(QObject* parent) :
QObject(parent),
- m_timeout(5000)
+ m_timeout(1000)
{
m_keyboardInputTime.invalidate();
}