summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-07 01:18:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-07 01:18:16 +0200
commitdab765fa8b1ad4ed4c2919a9ff2d6eb863565ae7 (patch)
tree6a6b1cba3c1b471e2839568cf9f23a8f0afe6f5c /src/urlbar/urlbar.cpp
parentMerge commit 'refs/merge-requests/115' of git://gitorious.org/rekonq/mainline... (diff)
parentLoad the url when an url is dropped onto the urlbar (diff)
downloadrekonq-dab765fa8b1ad4ed4c2919a9ff2d6eb863565ae7.tar.xz
Merge commit 'refs/merge-requests/116' of git://gitorious.org/rekonq/mainline into m116
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r--src/urlbar/urlbar.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index dd14a4a3..35934bf4 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -269,3 +269,10 @@ void UrlBar::setTrustedHost(bool on)
kDebug() << "SET TRUSTED HOST..";
iconButton()->setIconUrl( _tab->url() , on );
}
+
+
+void UrlBar::dropEvent(QDropEvent *event)
+{
+ LineEdit::dropEvent(event);
+ activated(text());
+}