From d4830b9a7472f31f05f80b9e409d129d48118e34 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 14 Dec 2016 18:02:10 +0100 Subject: QNativeAndroidView: make ctor take a context Reflecting the API of native Android View. Change-Id: Ibb1f5fff1fda58a741a5d845a900990cc38d10f7 Reviewed-by: J-P Nurmi --- src/android/widget/qnativeandroidcompoundbutton_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/android/widget/qnativeandroidcompoundbutton_p.h') diff --git a/src/android/widget/qnativeandroidcompoundbutton_p.h b/src/android/widget/qnativeandroidcompoundbutton_p.h index d5ba1fb..2c60353 100644 --- a/src/android/widget/qnativeandroidcompoundbutton_p.h +++ b/src/android/widget/qnativeandroidcompoundbutton_p.h @@ -58,7 +58,7 @@ class Q_QMLANDROID_EXPORT QNativeAndroidCompoundButton : public QNativeAndroidBu Q_PROPERTY(bool checked READ isChecked WRITE setChecked NOTIFY checkedChanged) public: - explicit QNativeAndroidCompoundButton(QNativeAndroidView *parent = nullptr); + explicit QNativeAndroidCompoundButton(QNativeAndroidContext *context = nullptr); bool isChecked() const; void setChecked(bool checked); -- cgit v1.2.3