diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-05-30 13:00:45 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-06-04 13:03:10 +0000 |
commit | 07946c110b3d6fde378dc2a6e821b318c4a68536 (patch) | |
tree | 60943027b858f946a7eb8920f426d58cb51a3ce1 /tests | |
parent | 1cec68315de67e2e2a905e16b4054d8874532b8e (diff) |
QQmlDelegateModelAttached: factor out resetCurrentIndex()
When we in subsequent patches start to recycle items, we'll
somtimes need to reset m_currentIndex after construction time.
This patch will not change any logic, but just move the code
that calculates m_currentIndex into a separate function.
Change-Id: Ic61825e9cf4b6c0fdb2dfcab1ad9b582ef4413ac
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions