From 2d4e96352a0f52351e0fa69273b064a66d460c04 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Fri, 7 Dec 2012 15:15:21 +0100 Subject: [PATCH] iOS: one 'transform' warning per window is sufficient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The layoutSubviews function will be called when the geometry changes, and we will catch the transform issue there for both UC1 and UC2 Change-Id: I29578bbc5b3091c86fbe69c7095ff280a64be458 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/ios/qioswindow.mm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/platforms/ios/qioswindow.mm b/src/plugins/platforms/ios/qioswindow.mm index c91c0b2f35..7f03e0d46a 100644 --- a/src/plugins/platforms/ios/qioswindow.mm +++ b/src/plugins/platforms/ios/qioswindow.mm @@ -211,11 +211,6 @@ QIOSWindow::~QIOSWindow() void QIOSWindow::setGeometry(const QRect &rect) { - if (!CGAffineTransformIsIdentity(m_view.transform)) { - qWarning() << "Setting the geometry of a QWindow with a transform set on the UIView is not supported"; - return; - } - // If the window is in fullscreen, just bookkeep the requested // geometry in case the window goes into Qt::WindowNoState later: QPlatformWindow::setGeometry(rect);