From 047e1cf013762015ccb7b16126545e5a4c69dbdf Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sat, 30 Nov 2013 13:07:59 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/profilegraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2