diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-31 11:28:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-31 11:28:41 +0200 |
commit | aaf0127c63c3e63a7f0600ec9e1eddceb7eef37b (patch) | |
tree | f986a7f3708995bf602df61b1d9f7ab340a9617f /src | |
parent | - Sync mouse wheel zoom and the slider (diff) | |
parent | Replaced the gradient with a solid color: it's easier to read. (diff) | |
download | rekonq-aaf0127c63c3e63a7f0600ec9e1eddceb7eef37b.tar.xz |
Merge commit 'refs/merge-requests/2282' of git://gitorious.org/rekonq/mainline into UrlBarFixes
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/urlbar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |