We return a default-constructed QVariant. What else could we possibly return? Right: nothing else. So document it and add a test. Pick-to: 6.7 6.5 6.2 5.15 Change-Id: If9808703b8ddfd15ceb013996741af8cd4efea12 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit d1a5e602df5978cee6bd263db77745f8047e508e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| qabstractitemmodel | ||
| qabstractproxymodel | ||
| qconcatenatetablesproxymodel | ||
| qidentityproxymodel | ||
| qitemmodel | ||
| qitemselectionmodel | ||
| qsortfilterproxymodel | ||
| qsortfilterproxymodel_recursive | ||
| qsortfilterproxymodel_regularexpression | ||
| qstringlistmodel | ||
| qtransposeproxymodel | ||
| CMakeLists.txt | ||