summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <tsdgeos@terra.es>2012-01-22 18:01:56 (GMT)
committerAlbert Astals Cid <tsdgeos@terra.es>2012-01-22 18:02:55 (GMT)
commit69526f2ee5fde235b18f16430f987a14c196109d (patch)
treeef3158c7b1db4eb59718c0844602992a751e881b
parent39f92b5d0859638d7cbf5cf0113822accd8ea3e3 (diff)
Set the correct buddy for the label
FIXED-IN: 4.8.1 BUGS: 292209
-rw-r--r--ui/findbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/findbar.cpp b/ui/findbar.cpp
index c0fdcd7..745376e 100644
--- a/ui/findbar.cpp
+++ b/ui/findbar.cpp
@@ -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 );