summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2010-11-17 01:09:21 +0530
committerRohan Garg <rohangarg@kubuntu.org>2010-11-17 01:09:21 +0530
commit49060cbec9ac93f0993fa315e2939516a398d349 (patch)
treecae0730b41ddc353358f88570b9d8f75434cdea1
parent-pedantic (diff)
downloadrekonq-49060cbec9ac93f0993fa315e2939516a398d349.tar.xz
Add a Clear Button to URL bar to clear it
-rw-r--r--src/urlbar/urlbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 1f4a0367..e108ed2f 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -100,6 +100,8 @@ UrlBar::UrlBar(QWidget *parent)
// disable completion object (we have our own :) )
setCompletionObject(0);
+ setClearButtonShown(true);
+
_tab = qobject_cast<WebTab *>(parent);
connect(_tab, SIGNAL(loadProgressing()), this, SLOT(update()));