Merge "Fix dropped rotation events when unlocking orientation" into qt-dev