Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitely set Binding.restoreMode #82

Closed
wants to merge 1 commit into from
Closed

Explicitely set Binding.restoreMode #82

wants to merge 1 commit into from

Conversation

PureTryOut
Copy link

@PureTryOut PureTryOut commented Apr 2, 2020

Not setting it has been deprecated since Qt 5.14 and the default value will change in Qt 6.0

Otherwise you get the following warning running it on Qt 5.14:

QtQuick/Controls/Nemo/Header.qml:310:9: QML Binding: Not restoring previous value because restoreMode has not been set.This behavior is deprecated.In Qt < 6.0 the default is Binding.RestoreBinding.In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

This PR does make this package require Qt 5.14, so not sure how to handle 5.12 as well.

Not setting it has been deprecated since Qt 5.14 and the default value
will change in Qt 6.0
@PureTryOut PureTryOut closed this by deleting the head repository Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant