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

@ -35,6 +35,8 @@ KCategorizedItemsView::KCategorizedItemsView(QWidget * parent, Qt::WindowFlags f
textSearch->setClickMessage(i18n("Enter search phrase here"));
textSearch->setFocus();
connect(textSearch, SIGNAL(textChanged(QString)),
this, SLOT(searchTermChanged(QString)));
connect(comboFilters, SIGNAL(currentIndexChanged(int)),