setFocus on the textinput by default

Close BUG : 154748

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754471
This commit is contained in:
Alexis Ménard 2007-12-29 21:52:40 +00:00
parent b7e978d04c
commit 5326f56dbb

View File

@ -34,7 +34,9 @@ KCategorizedItemsView::KCategorizedItemsView(QWidget * parent, Qt::WindowFlags f
itemsView->m_view = this;
textSearch->setClickMessage(i18n("Enter search phrase here"));
textSearch->setFocus();
connect(textSearch, SIGNAL(textChanged(QString)),
this, SLOT(searchTermChanged(QString)));
connect(comboFilters, SIGNAL(currentIndexChanged(int)),