From ffdc9de8e498d027f5085f706f0fc6845889efb3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 10 Dec 2008 00:50:21 +0100 Subject: last adjs.. --- src/urlbar.cpp | 10 +--------- src/urlbar.h | 2 -- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'src') 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; -- cgit v1.2.1