Clearing a view didn't reset content size.
authorMartin Jones <martin.jones@nokia.com>
Wed, 30 May 2012 02:58:04 +0000 (12:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 00:23:04 +0000 (02:23 +0200)
commit47204d2cc9d2bdb85aab869fcc5307d7c09df12c
treec24bd57df700e8c55d618a6b7afbf70352f19bbd
parentfdbb1f1b4f43a961d66998a1125f5e11618ed025
Clearing a view didn't reset content size.

Ensure that a valid contentHeight/contentWidth is set regardless
of whether there is a valid model.

Change-Id: I546683c7571a1379e3ca2ef285435ad48319e8e4
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickitemview.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp