From f10f86a1e74aa2180786cf0ee727f41258b156ba Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Apr 2009 00:37:22 +0200 Subject: Searchbar fixes: no KDebug && QTimer shot in 200 ms --- src/searchbar.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/searchbar.cpp b/src/searchbar.cpp index b05476f0..c9fef5c7 100644 --- a/src/searchbar.cpp +++ b/src/searchbar.cpp @@ -28,7 +28,6 @@ // KDE Includes #include -#include // Qt Includes #include @@ -42,7 +41,6 @@ SearchBar::SearchBar(QWidget *parent) : , m_timer(new QTimer(this)) { setMinimumWidth(180); - kWarning() << "setting fixed minimum width.." ; setFocusPolicy(Qt::WheelFocus); setMouseTracking(true); @@ -61,7 +59,7 @@ SearchBar::SearchBar(QWidget *parent) : // setting QTimer.. m_timer->setSingleShot(true); - m_timer->setInterval(300); + m_timer->setInterval(200); connect(m_timer, SIGNAL(timeout()), SLOT(autoSuggest())); connect(this, SIGNAL(textEdited(QString)), m_timer, SLOT(start())); -- cgit v1.2.1