Commit fa9bde7d authored by Richard Moe Gustavsen's avatar Richard Moe Gustavsen
Browse files

iOS: override QPlatformWindow::propagateSizeHints()


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: default avatarTor Arne Vestbø <tor.arne.vestbo@digia.com>
parent cb679241
No related merge requests found
Showing with 1 addition and 0 deletions
...@@ -63,6 +63,7 @@ public: ...@@ -63,6 +63,7 @@ public:
void setOpacity(qreal level) Q_DECL_OVERRIDE; void setOpacity(qreal level) Q_DECL_OVERRIDE;
bool isExposed() const Q_DECL_OVERRIDE; bool isExposed() const Q_DECL_OVERRIDE;
void propagateSizeHints() Q_DECL_OVERRIDE {}
void raise() { raiseOrLower(true); } void raise() { raiseOrLower(true); }
void lower() { raiseOrLower(false); } void lower() { raiseOrLower(false); }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment