summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-14 18:58:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-14 18:58:37 +0200
commitfc8485fe58c5f43fc227c6b390c299cfab7823c4 (patch)
treefbaada34b81ab58c5087cd5378ca3773c8f9c133 /src/urlbar/urlbar.cpp
parentNo wait for first results (diff)
downloadrekonq-fc8485fe58c5f43fc227c6b390c299cfab7823c4.tar.xz
Show faster url to load
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r--src/urlbar/urlbar.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index b1bfb1c0..f11cfdeb 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -190,7 +190,7 @@ void UrlBar::paintEvent(QPaintEvent *event)
// you need this before our code to draw inside the line edit..
KLineEdit::paintEvent(event);
- if (text().isEmpty())
+ if( text().isEmpty() && progr == 0 )
{
QStyleOptionFrame option;
initStyleOption(&option);
@@ -305,7 +305,7 @@ void UrlBar::loadFinished()
void UrlBar::loadTyped(const QString &text)
{
- activated(KUrl(text));
+ activated( KUrl(text) );
}
@@ -392,7 +392,6 @@ void UrlBar::resizeEvent(QResizeEvent *event)
}
KLineEdit::resizeEvent(event);
-
}