diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-19 23:00:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-19 23:00:41 +0200 |
commit | 1d1a6867589a8e71755624e1e9d9e8b95a5a1156 (patch) | |
tree | 35f54c5ad7edfb58af4c3a1db3e0dc8a83da9af6 /src/urlbar/urlbar.cpp | |
parent | Added UI option to configure the "Do Not Track" feature (diff) | |
download | rekonq-1d1a6867589a8e71755624e1e9d9e8b95a5a1156.tar.xz |
Calm down kDebug messages
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index ea60f474..37c085e6 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -308,7 +308,7 @@ void UrlBar::focusInEvent(QFocusEvent *event) void UrlBar::dropEvent(QDropEvent *event) { - //handles only plain-text with url format + // handles only plain-text with url format if(event->mimeData()->hasFormat("text/plain") && event->source() != this) { QUrl url = QUrl::fromUserInput(event->mimeData()->data("text/plain")); @@ -321,7 +321,7 @@ void UrlBar::dropEvent(QDropEvent *event) } } - //handles everything else + // handles everything else KLineEdit::dropEvent(event); activated(text()); } @@ -371,7 +371,6 @@ void UrlBar::loadFinished() // we need to update urlbar after the right icon settings // removing this code (where setStyleSheet automatically calls update) needs adding again // an update call - kDebug() << "resetting stylesheet"; int rightIconWidth = 25 * (_rightIconsList.count()); setStyleSheet(QString("UrlBar { padding: 0 %2px 0 %1px;} ").arg(_icon->sizeHint().width()).arg(rightIconWidth)); } |