diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-21 00:54:58 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-21 00:54:58 +0100 |
commit | 2daca1034d63d71e9c6a097816fe6aa7ba47db35 (patch) | |
tree | d2a3a0d67f782a8dfa171dc96a0852ed9b8c4334 /src/findbar.cpp | |
parent | - Added kWarning for fixed minimun size (diff) | |
download | rekonq-2daca1034d63d71e9c6a097816fe6aa7ba47db35.tar.xz |
little updates..
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r-- | src/findbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp index b45dc8fa..73f6c784 100644 --- a/src/findbar.cpp +++ b/src/findbar.cpp @@ -41,6 +41,8 @@ FindBar::FindBar(KMainWindow *parent) addWidget( label ); m_lineEdit = new KLineEdit(); + m_lineEdit->setMaximumWidth( 200 ); + connect( m_lineEdit, SIGNAL( returnPressed() ), parent, SLOT( slotFindNext() ) ); connect( m_lineEdit, SIGNAL( textEdited(const QString &) ), parent, SLOT( slotFindNext() ) ); addWidget( m_lineEdit ); @@ -48,9 +50,6 @@ FindBar::FindBar(KMainWindow *parent) addAction( KStandardAction::findNext(parent, SLOT( slotFindNext() ) , this ) ); addAction( KStandardAction::findPrev(parent, SLOT( slotFindPrevious() ) , this ) ); - QLabel *spaceLabel = new QLabel(" "); // FIXME - addWidget( spaceLabel ); - // we start off hidden hide(); } |