diff options
-rw-r--r-- | src/urlbar.cpp | 10 | ||||
-rw-r--r-- | src/urlbar.h | 2 |
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; |