code for Qt < 5.8 fixed
This commit is contained in:
parent
05403599ae
commit
71a18b43ae
|
@ -94,9 +94,9 @@ class QskInputGrabber::PrivateData final : public QQuickItemChangeListener
|
||||||
bool doUpdate = false;
|
bool doUpdate = false;
|
||||||
|
|
||||||
if ( item == itemAbove )
|
if ( item == itemAbove )
|
||||||
doUpdate = newRect.size() != oldRect.size();
|
|
||||||
else
|
|
||||||
doUpdate = newRect.topLeft() != oldRect.topLeft();
|
doUpdate = newRect.topLeft() != oldRect.topLeft();
|
||||||
|
else
|
||||||
|
doUpdate = newRect.size() != oldRect.size();
|
||||||
|
|
||||||
if ( doUpdate )
|
if ( doUpdate )
|
||||||
m_grabber->updateGeometry();
|
m_grabber->updateGeometry();
|
||||||
|
|
Loading…
Reference in New Issue