Skip to content

Fixes restoremode for binding

Ömer Fadıl Usta requested to merge work/fix_restorebinding into master

Without this patch logs filled with this warning :

Nis 02 08:36:47 sakura systemsettings5[79759]: file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/private/ScrollView.qml:74:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

Merge request reports