message: create setStats function in LineStats. So it is possible to update the linestats
diff: @@ -1461,12 +1461,19 @@ public:
  LineStats(const git::Patch::LineStats &stats, QWidget *parent = nullptr)
  : QWidget(parent)
  {
  - Q_ASSERT(stats.additions > 0 || stats.deletions > 0);
  + setStats(stats);
  + }
  + void setStats(const git::Patch::LineStats &stats) {
  qreal x = static_cast<qreal>(stats.additions + stats.deletions) / 5;
  + if (x > 0) {
  bool scaled = (stats.additions + stats.deletions > 5);
  mPluses = scaled ? stats.additions / x : stats.additions;
  mMinuses = scaled ? stats.deletions / x : stats.deletions;
  + } else {
  + mPluses = 0;
  + mMinuses = 0;
  + }
  }
  QSize minimumSizeHint() const override
  