##// END OF EJS Templates
Fix test application to have valid window size
Michal Klocek -
r147:ede69107bdd8
parent child
Show More
@@ -62,6 +62,7 void ChartPresenter::handleGeometryChanged()
62 62 {
63 63 m_rect = QRectF(QPoint(0,0),m_chart->size());
64 64 m_rect.adjust(m_marginSize,m_marginSize, -m_marginSize, -m_marginSize);
65 Q_ASSERT(m_rect.isValid());
65 66 emit geometryChanged(m_rect);
66 67 }
67 68
@@ -11,6 +11,7 int main(int argc, char *argv[])
11 11 QApplication a(argc, argv);
12 12
13 13 MainWidget w;
14 w.resize(1000,600);
14 15 w.show();
15 16
16 17 return a.exec();
General Comments 0
You need to be logged in to leave comments. Login now