summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-21 00:54:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-21 00:54:58 +0100
commit2daca1034d63d71e9c6a097816fe6aa7ba47db35 (patch)
treed2a3a0d67f782a8dfa171dc96a0852ed9b8c4334 /src
parent- Added kWarning for fixed minimun size (diff)
downloadrekonq-2daca1034d63d71e9c6a097816fe6aa7ba47db35.tar.xz
little updates..
Diffstat (limited to 'src')
-rw-r--r--src/findbar.cpp5
-rw-r--r--src/searchbar.cpp1
-rw-r--r--src/urlbar.h3
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;