Set the correct buddy for the label

FIXED-IN: 4.8.1
BUGS: 292209
This commit is contained in:
Albert Astals Cid 2012-01-22 19:01:56 +01:00
parent ca1c209ec0
commit 2d857f8727

View file

@ -49,7 +49,7 @@ FindBar::FindBar( Okular::Document * document, QWidget * parent )
m_search->lineEdit()->setSearchMoveViewport( true );
m_search->lineEdit()->setToolTip( i18n( "Text to search for" ) );
m_search->installEventFilter( this );
label->setBuddy( m_search );
label->setBuddy( m_search->lineEdit() );
lay->addWidget( m_search );
QPushButton * findNextBtn = new QPushButton( KIcon( "go-down-search" ), i18nc( "Find and go to the next search match", "Next" ), this );