message: Use Diffview icon for DoubleTree
diff: @@ -541,39 +541,39 @@ public:
  qreal x = width() / 2.0;
  qreal y = height() / 2.0;
  -// if (mMode == RepoView::Diff) {
  -// // Subtract a diagonal rectangle from the clip area.
  -// QPainterPath clip;
  -// clip.addRect(rect());
  + if (mMode == RepoView::DoubleTree) {
  + // Subtract a diagonal rectangle from the clip area.
  + QPainterPath clip;
  + clip.addRect(rect());
  -// QPainterPath path;
  -// path.moveTo(x - 3, y - 4);
  -// path.lineTo(x + 5, y + 2);
  -// path.lineTo(x + 3, y + 4);
  -// path.lineTo(x - 5, y - 2);
  -// path.closeSubpath();
  + QPainterPath path;
  + path.moveTo(x - 3, y - 4);
  + path.lineTo(x + 5, y + 2);
  + path.lineTo(x + 3, y + 4);
  + path.lineTo(x - 5, y - 2);
  + path.closeSubpath();
  -// painter.setClipPath(clip.subtracted(path));
  + painter.setClipPath(clip.subtracted(path));
  -// QPainterPath path1;
  -// path1.addEllipse(x + 4, y - 7, 4, 4);
  -// path1.addEllipse(x - 8, y + 3, 4, 4);
  + QPainterPath path1;
  + path1.addEllipse(x + 4, y - 7, 4, 4);
  + path1.addEllipse(x - 8, y + 3, 4, 4);
  -// path1.moveTo(x - 4, y + 3);
  -// path1.lineTo(x + 4, y - 3);
  -// painter.drawPath(path1);
  + path1.moveTo(x - 4, y + 3);
  + path1.lineTo(x + 4, y - 3);
  + painter.drawPath(path1);
  -// painter.setClipping(false);
  + painter.setClipping(false);
  -// QPainterPath path2;
  -// path2.addEllipse(x - 8, y - 7, 4, 4);
  -// path2.addEllipse(x + 4, y + 3, 4, 4);
  + QPainterPath path2;
  + path2.addEllipse(x - 8, y - 7, 4, 4);
  + path2.addEllipse(x + 4, y + 3, 4, 4);
  -// path2.moveTo(x - 4, y - 3);
  -// path2.lineTo(x + 4, y + 3);
  -// painter.drawPath(path2);
  + path2.moveTo(x - 4, y - 3);
  + path2.lineTo(x + 4, y + 3);
  + painter.drawPath(path2);
  -// } else {
  + } else {
  QPainterPath path;
  path.addEllipse(x - 8, y - 7, 4, 4);
  path.addEllipse(x, y - 7, 4, 4);
  @@ -589,7 +589,7 @@ public:
  path.moveTo(x + 5, y + 5);
  path.lineTo(x + 8, y + 5);
  painter.drawPath(path);
  -// }
  + }
  }
  private:
  