diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/findbar.cpp | 5 | ||||
-rw-r--r-- | src/searchbar.cpp | 1 | ||||
-rw-r--r-- | src/urlbar.h | 3 |
3 files changed, 4 insertions, 5 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(); } diff --git a/src/searchbar.cpp b/src/searchbar.cpp index 8b21daf5..977703d3 100644 --- a/src/searchbar.cpp +++ b/src/searchbar.cpp @@ -24,6 +24,7 @@ #include "browserapplication.h" #include "browsermainwindow.h" +#include <KDebug> SearchBar::SearchBar(QWidget *parent) : KLineEdit(parent) diff --git a/src/urlbar.h b/src/urlbar.h index 99199d9c..c77f3b77 100644 --- a/src/urlbar.h +++ b/src/urlbar.h @@ -46,8 +46,7 @@ private slots: void webViewIconChanged(); protected: -// void paintEvent( QPaintEvent * ); - +// void paintEvent( QPaintEvent * ); private: QLinearGradient generateGradient(const QColor &color) const; |