diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-01-03 18:02:18 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-01-04 08:31:08 +0000 |
commit | 005ba7997fd4573e65e8c78ad8456ce7a29298a2 (patch) | |
tree | 5658408bc43c71e5978af9e1fe7d245dc55a87dc /tests | |
parent | c37ee40aa43aac7a717f0e5c24816834cffb2b76 (diff) |
Fix building with clang
We are doing an assign later, so the properties can't be const, or
the default assign operator is automatically deleted.
Change-Id: I4ddb46cbde9098ad5c3aa72687c3107da9485a96
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquickwebengineview/tst_qquickwebengineview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickwebengineview/tst_qquickwebengineview.cpp b/tests/auto/quick/qquickwebengineview/tst_qquickwebengineview.cpp index 29df3444c..40a3bff5e 100644 --- a/tests/auto/quick/qquickwebengineview/tst_qquickwebengineview.cpp +++ b/tests/auto/quick/qquickwebengineview/tst_qquickwebengineview.cpp @@ -484,8 +484,8 @@ struct InputMethodInfo , selectedText(selectedText) {} - const int cursorPosition; - const int anchorPosition; + int cursorPosition; + int anchorPosition; QString surroundingText; QString selectedText; }; |