Avoid deprecated QAbstractItemModel::reset()
Differential Revision: https://phabricator.kde.org/D19884 Reviewers: danders