summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Gateau <agateau@kde.org>2010-05-26 14:43:01 +0200
committerAurelien Gateau <agateau@kde.org>2010-05-26 14:43:01 +0200
commit801e8d9441f6ec7b47dd2428e7076c673db57949 (patch)
tree864b34414f2a45f1c8ebbb517434044033a76dde
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-801e8d9441f6ec7b47dd2428e7076c673db57949.tar.xz
Replaced the gradient with a solid color: it's easier to read.
-rw-r--r--src/urlbar/urlbar.cpp1
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);
}