summaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-08-14 02:33:13 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-09-08 19:17:36 +0300
commit9016def4dc75e35509cc1a5f5168514b0d88af56 (patch)
tree750e1daa3d275e7c0622ddcd8a9dbbc912f45aef /examples/CMakeLists.txt
parent9c819c90736af798c7ede157c8f96c6c2070ddd5 (diff)
tst_QAbstractItemModelTester: fix unittest
rowsAboutToBeMoved() and rowsMoved() signals aren't emitted for QSortFilterProxyModel, which meant the two connections in the ObservingObject's constructor didn't trigger the slots, which let the test pass (the store/checkPersistentFailureCount stayed at 0). - Instead connect to layoutAboutToBeChanged() and layoutChanged() respectively, these two are emitted for QSFPM - Use PMF syntax - Verify m_persistent{Proxy,Source}Indexes aren't empty Change-Id: I8b83989de02c2bfb22bde9b230cb5b68814f74b6 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions