summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
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());
+}