listView: Handle deleting the last owner of a section.

Authored by lepagevalleeemmanuel on Dec 15 2018, 9:47 AM.

Description

listView: Handle deleting the last owner of a section.

Due to a memory leak, the last element was never deleted.
The Q_ASSERT(false) did its job of catching the previously untested
codepath.

Details