##// END OF EJS Templates
Fixes previous commit
Michal Klocek -
r791:0a28782b4a44
parent child
Show More
@@ -23,7 +23,6 void LegendScrollButton::mousePressEvent(QGraphicsSceneMouseEvent *event)
23 23 m_ledgend->scrollButtonClicked(this);
24 24 }
25 25
26 #include "moc_legendscrollbutton_p.cpp"
27 26
28 27 QTCOMMERCIALCHART_END_NAMESPACE
29 28
@@ -66,7 +66,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
66 66 /*!
67 67 Constructs the legend object and sets the parent to \a parent
68 68 */
69 QLegend::QLegend(QChart *chart):QGraphicsWidget(chart->d_ptr->m_presenter->rootItem()),
69 QLegend::QLegend(QChart *chart):QGraphicsWidget(chart),
70 70 m_margin(5),
71 71 m_pos(0,0),
72 72 m_minimumSize(50,20), // TODO: magic numbers
General Comments 0
You need to be logged in to leave comments. Login now