diff options
author | lionelc <lionelc@lionelc.(none)> | 2010-08-11 16:07:01 +0200 |
---|---|---|
committer | lionelc <lionelc@lionelc.(none)> | 2010-08-11 16:07:01 +0200 |
commit | 6fec371e18cc80dabc621683692337b2494c4d68 (patch) | |
tree | daaf22e93e1bed7788ea49575ddf0c5f78c82edb | |
parent | Delaying single shots to let rekonq have more time to show itself before... (diff) | |
download | rekonq-6fec371e18cc80dabc621683692337b2494c4d68.tar.xz |
change gradiant of the loading animation: fix aliasing
-rw-r--r-- | src/urlbar/urlbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 5c3cba28..bc43957a 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -187,7 +187,7 @@ void UrlBar::paintEvent(QPaintEvent *event) { QColor loadingColor = Application::palette().color(QPalette::ToolTipBase); - QLinearGradient gradient( QPoint(0, 0), QPoint(width(), height()) ); + QLinearGradient gradient( QPoint(0, 0), QPoint(width(), 0) ); gradient.setColorAt(0, loadingColor); gradient.setColorAt(((double)progr) / 100 - .000001, loadingColor); gradient.setColorAt(((double)progr) / 100, backgroundColor); |