diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-11-30 13:07:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-30 07:21:24 -0800 |
commit | 047e1cf013762015ccb7b16126545e5a4c69dbdf (patch) | |
tree | 927c15b7fbdc65542a25b4542245090f20d60aba | |
parent | 10a43af06697cf7f2be36390bd052733fa3b4a76 (diff) | |
download | subsurface-047e1cf013762015ccb7b16126545e5a4c69dbdf.tar.gz |
Reorder initializers to be more c++-strict
c++ have some idea about in what order things should be initialized.
This makes us comply with that order.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/profilegraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index 9192f4973..79ebc2684 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -1604,7 +1604,7 @@ QColor EventItem::getColor(const color_indice_t i) return profile_color[i].at((isGrayscale) ? 1 : 0); } -EventItem::EventItem(struct event *ev, QGraphicsItem* parent, bool grayscale): QGraphicsPolygonItem(parent), isGrayscale(grayscale), ev(ev) +EventItem::EventItem(struct event *ev, QGraphicsItem* parent, bool grayscale): QGraphicsPolygonItem(parent), ev(ev), isGrayscale(grayscale) { setFlag(ItemIgnoresTransformations); setFlag(ItemIsFocusable); |