QDeclarativeOrganizerModel: call reset model when removing all items
authorIktwo Sh <elmaildeliktwo@gmail.com>
Fri, 21 Jun 2013 04:26:25 +0000 (21:26 -0700)
committerIktwo Sh <elmaildeliktwo@gmail.com>
Mon, 1 Jul 2013 21:18:59 +0000 (23:18 +0200)
commit9960fda6e59c5dfc0ff5535f85159a6a49d07873
treec33ab7e89b8b79b07bd7f132d077f84ba89d252d
parent3ef0fe235d2fc80aaefc3cee63a43da56b134870
QDeclarativeOrganizerModel: call reset model when removing all items

Call beginResetModel() and endResetModel() after model was being cleared

Change-Id: Ib1903ae87f8dc692cb3155c4212bc4ee3caa8df7
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
plugins/declarative/organizer/qdeclarativeorganizermodel.cpp