The check to see if m_itemView is empty is already included in the first condition, and the re-check in the second condition is unnecessary. eg: A | | (!A && B) is equivalent to A | | B. Change-Id: I1a9f003bacea076fc1e72765c196a327a21c33b2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 063dad967fbea9649683aa02f457c839e1ab56cb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| graphicsview | ||
| itemviews | ||
| kernel | ||
| styles | ||
| widgets | ||
| CMakeLists.txt | ||