aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/sparkline_delegate.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-01-23 13:18:30 +0100
committerAnders Broman <a.broman58@gmail.com>2016-01-23 23:15:54 +0000
commit720f57d0009fd3941d327d30dc064adbc5feb5a0 (patch)
treeaa7cd0b0517ca1420865d8b4f5baba0562866286 /ui/qt/sparkline_delegate.cpp
parentdd4638948510babe0f64616dbdab0da58a6b559c (diff)
ui: Code cleanup
Fixed code layout to use common style in the file. Mostly whitespace changes. Change-Id: Id37b57717a9e26248fad07322dff09b1d1f45ac2 Reviewed-on: https://code.wireshark.org/review/13504 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/sparkline_delegate.cpp')
-rw-r--r--ui/qt/sparkline_delegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/sparkline_delegate.cpp b/ui/qt/sparkline_delegate.cpp
index 3407dc3e40..3cc4069192 100644
--- a/ui/qt/sparkline_delegate.cpp
+++ b/ui/qt/sparkline_delegate.cpp
@@ -55,7 +55,7 @@ void SparkLineDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt
}
foreach (val, *points) {
- fpoints.append(QPointF(idx, (qreal) content_h - (val * content_h / max) ));
+ fpoints.append(QPointF(idx, (qreal) content_h - (val * content_h / max)));
idx = idx + step_w;
}