Skip to content
Snippets Groups Projects
Commit 938612c3 authored by Christian Kandeler's avatar Christian Kandeler Committed by hjk
Browse files

Do not use QAbstractItemModel::reset().


Change-Id: Ie49bdf576a6d3543aef6df133b27c8827775c935
Rationale:
    a) It is conceptually cleaner to do the changes to the model
       in between calls to beginResetModel() and endResetModel,
       respectively.
    b) The function is deprecated in Qt 5, for exactly that reason.
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 1b3d637c
No related branches found
No related tags found
Loading
Showing
with 61 additions and 33 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment