code for Qt < 5.8 fixed

This commit is contained in:
Uwe Rathmann 2020-01-10 07:22:36 +01:00
parent 05403599ae
commit 71a18b43ae

View File

@ -94,9 +94,9 @@ class QskInputGrabber::PrivateData final : public QQuickItemChangeListener
bool doUpdate = false;
if ( item == itemAbove )
doUpdate = newRect.size() != oldRect.size();
else
doUpdate = newRect.topLeft() != oldRect.topLeft();
else
doUpdate = newRect.size() != oldRect.size();
if ( doUpdate )
m_grabber->updateGeometry();