diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-04-21 11:23:12 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2015-04-24 15:59:01 +0000 |
commit | b00a52955729d533f168ba7878a50356f7de46b7 (patch) | |
tree | 99906901cc3ad43f43c7e723b467983ed9df0acd | |
parent | 8a3344441c65d6a7834c6f4e3314ca6b67c942dd (diff) |
Make the geometryChanged() function protected.
There's no need for it to be public.
Change-Id: Icb3c2661b918ab59c3b139de0d58d474833c33a3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
-rw-r--r-- | src/webview/qquickviewcontroller_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/webview/qquickviewcontroller_p.h b/src/webview/qquickviewcontroller_p.h index 7d1b371..9284747 100644 --- a/src/webview/qquickviewcontroller_p.h +++ b/src/webview/qquickviewcontroller_p.h @@ -65,8 +65,6 @@ public: explicit QQuickViewController(QQuickItem *parent = 0); ~QQuickViewController(); - void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) Q_DECL_OVERRIDE; - public slots: void onWindowChanged(QQuickWindow* window); void onVisibleChanged(); @@ -74,6 +72,7 @@ public slots: protected: void componentComplete() Q_DECL_OVERRIDE; void updatePolish() Q_DECL_OVERRIDE; + void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) Q_DECL_OVERRIDE; void setView(QNativeViewController *view); private: |