From fc3f234e419d5f0eba0738509d43cb0d3f5351ec Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 31 Jan 2012 10:04:26 +0100 Subject: Show urlbar "text" again... --- src/urlbar/urlbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/urlbar') diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index ef3b3997..58c7caec 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -255,7 +255,7 @@ void UrlBar::paintEvent(QPaintEvent *event) // you need this before our code to draw inside the line edit.. KLineEdit::paintEvent(event); - if (text().isEmpty() && progr == 0) + if (text().isEmpty() && (progr == 0 || progr == 100)) { QStyleOptionFrame option; initStyleOption(&option); -- cgit v1.2.1