From 801e8d9441f6ec7b47dd2428e7076c673db57949 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Wed, 26 May 2010 14:43:01 +0200 Subject: Replaced the gradient with a solid color: it's easier to read. --- src/urlbar/urlbar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/urlbar') diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 4d38f170..9edf7c6b 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -181,6 +181,7 @@ void UrlBar::paintEvent(QPaintEvent *event) QLinearGradient gradient(0, 0, width(), 0); gradient.setColorAt(0, loadingColor); + gradient.setColorAt(((double)progr) / 100 - .000001, loadingColor); gradient.setColorAt(((double)progr) / 100, backgroundColor); p.setBrush(QPalette::Base, gradient); } -- cgit v1.2.1