Call base class init() from QSGListViewPrivate
authorBea Lam <bea.lam@nokia.com>
Tue, 2 Aug 2011 00:53:52 +0000 (10:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 04:42:28 +0000 (06:42 +0200)
commit9dfd621aec9a031297c50dd7df5ca90c771f46a3
tree6ec911d518f64b73f80408264e47d426549ced6d
parentab40ff7046db2a922ae6959b44f1a52416566b7a
Call base class init() from QSGListViewPrivate

Regression from 9b5f9c8056186c9cf3c40dbac66e5f90369339dc when
QSGItemView was created.

Also fixed other reimplemented methods in QSGListViewPrivate to call
their base class functions (which are currently empty) and changed
some virtual methods in QSGItemViewPrivate to non-virtual where they
didn't need to be virtual.

Task-number: QTBUG-20679
Change-Id: I489593b3eab4f5bbb4126906f170342d1e8811cd
Reviewed-on: http://codereview.qt.nokia.com/2462
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/items/qsgitemview_p_p.h
src/declarative/items/qsglistview.cpp