Partially revert e84e86dc.

Make tst_qquickview::resizemodeitem pass.

Returning on equal geometry breaks for non-top-level
windows.


Change-Id: I3b361655e25b6cf2d5e29410dc1f3567ab8f54d9
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
Morten Johan Sorvig 2012-12-11 13:37:40 +01:00 committed by The Qt Project
parent ced154500d
commit 4afc88b381

View File

@ -185,7 +185,7 @@ static QTouchDevice *touchDevice = 0;
geometry = qt_mac_toQRect([self frame]);
}
if (geometry == m_platformWindow->geometry())
if (m_platformWindow->m_nsWindow && geometry == m_platformWindow->geometry())
return;
#ifdef QT_COCOA_ENABLE_WINDOW_DEBUG