<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -101,14 +101,18 @@ void LocationBar::paintEvent(QPaintEvent *event)
     // set the progress bar
     if (m_webView) {
         int progress = m_webView-&gt;progress();
-        QColor loadingColor = QColor(116, 192, 250);
-        if (p.color(QPalette::Text).value() &gt;= 128)
-            loadingColor = defaultBaseColor.darker(200);
-
-        QLinearGradient gradient(0, 0, width(), 0);
-        gradient.setColorAt(0, loadingColor);
-        gradient.setColorAt(((double)progress)/100, backgroundColor);
-        p.setBrush(QPalette::Base, gradient);
+        if (progress == 0) {
+            p.setBrush(QPalette::Base, backgroundColor);
+        } else {
+            QColor loadingColor = QColor(116, 192, 250);
+            if (p.color(QPalette::Text).value() &gt;= 128)
+                loadingColor = defaultBaseColor.darker(200);
+
+            QLinearGradient gradient(0, 0, width(), 0);
+            gradient.setColorAt(0, loadingColor);
+            gradient.setColorAt(((double)progress)/100, backgroundColor);
+            p.setBrush(QPalette::Base, gradient);
+        }
         setPalette(p);
     }
 </diff>
      <filename>src/locationbar/locationbar.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f918e926355adb3647e5c2dc44c47d1a7d90883b</id>
    </parent>
  </parents>
  <author>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </author>
  <url>http://github.com/icefox/arora/commit/3e3b03afe284b0f53880ea00e0818895b30ea45f</url>
  <id>3e3b03afe284b0f53880ea00e0818895b30ea45f</id>
  <committed-date>2009-10-13T18:46:05-07:00</committed-date>
  <authored-date>2009-10-13T18:46:05-07:00</authored-date>
  <message>When the progress is 0 default back to the default background color rather than using a gradient</message>
  <tree>15ecbca38ab91426d2cabd2c540fe8b55419a68d</tree>
  <committer>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </committer>
</commit>
