From fa9bde7d3a12ede956339c570f7b32f95d231e57 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Tue, 25 Nov 2014 14:23:48 +0100 Subject: iOS: override QPlatformWindow::propagateSizeHints() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit propagate size hints means that we should forward minimum/maximum size set on QWindow to the underlying native window to restrict how the user can resize the window. On iOS this does not make sense, but nevertheless, if we don't override the function, the default implementation will issue a warning. This again will always make creator inform that the application ended with error upon exit. Change-Id: I0a8bd74c47fafe2115add5b6eb4e77616fcbc365 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/ios/qioswindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms') diff --git a/src/plugins/platforms/ios/qioswindow.h b/src/plugins/platforms/ios/qioswindow.h index 65b4f6dd7d..21a05a302e 100644 --- a/src/plugins/platforms/ios/qioswindow.h +++ b/src/plugins/platforms/ios/qioswindow.h @@ -63,6 +63,7 @@ public: void setOpacity(qreal level) Q_DECL_OVERRIDE; bool isExposed() const Q_DECL_OVERRIDE; + void propagateSizeHints() Q_DECL_OVERRIDE {} void raise() { raiseOrLower(true); } void lower() { raiseOrLower(false); } -- cgit v1.2.3