@@ -322,8 +322,4 void MainWidget::changeChartTheme(int themeIndex) | |||
|
322 | 322 | { |
|
323 | 323 | qDebug() << "changeChartTheme: " << themeIndex; |
|
324 | 324 | m_chart->setTheme((QChart::ChartTheme) themeIndex); |
|
325 | //TODO: remove this hack. This is just to make it so that theme change is seen immediately. | |
|
326 | QSize s = size(); | |
|
327 | s.setWidth(s.width()+1); | |
|
328 | resize(s); | |
|
329 | 325 | } |
General Comments 0
You need to be logged in to leave comments.
Login now