mirror of https://github.com/qt/qtgraphs.git
When the modelhandler resolves the model, it always resizes scalearray.
This patch adds a check whether the itemmodel has scale roleindex. If
the model has no scale, it skips the resizing of scalearray.
Fixes: QTBUG-141186
Change-Id: I2718987f15c751cd187f1a398a92e10c71c9fbc6
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| tst_proxy.cpp | ||