QGuiApplication keeps a stack of override cursor and the number of setOverrideCursor calls must match the number of restoreOverrideCursor calls. Keep track of whether we've already set the override cursor in WidgetResizeHandler so we don't end up with the wrong cursor when restoring.
QGuiApplication keeps a stack of override cursor and the number of setOverrideCursor calls must match the number of restoreOverrideCursor calls. Keep track of whether we've already set the override cursor in WidgetResizeHandler so we don't end up with the wrong cursor when restoring.