summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktar Vauchkevich <victorenator@gmail.com>2013-01-14 21:26:19 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-14 21:26:19 +0100
commitb195ca9663e25942dc8f095e381731a942ce32eb (patch)
tree4971d74b72bec88e54d929de462ca4be55a2f291
parentReimplement (in 2.x way) the ability to edit toolbar (diff)
downloadrekonq-b195ca9663e25942dc8f095e381731a942ce32eb.tar.xz
Prevent uglifying URL on ESC
REVIEW: 108391 REVIEWED-BY: adjam. (Thanks!)
-rw-r--r--src/urlbar/urlbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 947e0910..cd6a5605 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -332,7 +332,7 @@ void UrlBar::keyPressEvent(QKeyEvent *event)
{
clearFocus();
if (!(_tab->url().protocol() == QL1S("about")))
- setText(_tab->url().url());
+ setText(_tab->url().prettyUrl());
event->accept();
}