diff options
Diffstat (limited to 'qt-ui/profile/ruleritem.cpp')
-rw-r--r-- | qt-ui/profile/ruleritem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/profile/ruleritem.cpp b/qt-ui/profile/ruleritem.cpp index 99a04438f..66fb67a0b 100644 --- a/qt-ui/profile/ruleritem.cpp +++ b/qt-ui/profile/ruleritem.cpp @@ -64,10 +64,10 @@ QVariant RulerNodeItem2::itemChange(GraphicsItemChange change, const QVariant &v return QGraphicsEllipseItem::itemChange(change, value); } -RulerItem2::RulerItem2() : timeAxis(NULL), - depthAxis(NULL), - source(new RulerNodeItem2()), +RulerItem2::RulerItem2() : source(new RulerNodeItem2()), dest(new RulerNodeItem2()), + timeAxis(NULL), + depthAxis(NULL), textItem(new QGraphicsSimpleTextItem(this)) { memset(&pInfo, 0, sizeof(pInfo)); |