diff options
author | Viktar Vauchkevich <victorenator@gmail.com> | 2013-01-14 21:26:19 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-14 21:26:19 +0100 |
commit | b195ca9663e25942dc8f095e381731a942ce32eb (patch) | |
tree | 4971d74b72bec88e54d929de462ca4be55a2f291 /src | |
parent | Reimplement (in 2.x way) the ability to edit toolbar (diff) | |
download | rekonq-b195ca9663e25942dc8f095e381731a942ce32eb.tar.xz |
Prevent uglifying URL on ESC
REVIEW: 108391
REVIEWED-BY: adjam. (Thanks!)
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/urlbar.cpp | 2 |
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(); } |