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;
|
||||
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user