Merge "Set mEnterAnimationPending to true if a window was not visible" into qt-dev