summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:50:21 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:50:21 +0100
commitffdc9de8e498d027f5085f706f0fc6845889efb3 (patch)
treef7aac6146bc69f07b71f01175a6ef69245c8ea01
parentmerging newurlbar branch (diff)
downloadrekonq-ffdc9de8e498d027f5085f706f0fc6845889efb3.tar.xz
last adjs..
-rw-r--r--src/urlbar.cpp10
-rw-r--r--src/urlbar.h2
2 files changed, 1 insertions, 11 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index 9be6bca0..4a599463 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -34,8 +34,7 @@ UrlBar::UrlBar(KHistoryComboBox *parent)
// add every item to history
connect( this, SIGNAL( activated( const QString& )), this, SLOT( addToHistory( const QString& )));
-
- connect( this, SIGNAL( activated(int) ), this, SLOT( prova() ) );
+
webViewIconChanged();
}
@@ -92,10 +91,3 @@ QLinearGradient UrlBar::generateGradient(const QColor &color) const
gradient.setColorAt(1, m_defaultBaseColor);
return gradient;
}
-
-
-void UrlBar::prova()
-{
- m_lineEdit->selectAll();
-}
-
diff --git a/src/urlbar.h b/src/urlbar.h
index d0f80f17..fcebc6f9 100644
--- a/src/urlbar.h
+++ b/src/urlbar.h
@@ -45,8 +45,6 @@ private slots:
void webViewUrlChanged(const QUrl &url);
void webViewIconChanged();
- void prova();
-
private:
QLinearGradient generateGradient(const QColor &color) const;