aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/types')
-rw-r--r--src/qml/types/qqmlbind.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/types/qqmlbind.cpp b/src/qml/types/qqmlbind.cpp
index 921d60caa1..f74a9f245c 100644
--- a/src/qml/types/qqmlbind.cpp
+++ b/src/qml/types/qqmlbind.cpp
@@ -486,6 +486,7 @@ void QQmlBind::eval()
qmlWarning(this)
<< "Not restoring previous value because restoreMode has not been set."
<< "This behavior is deprecated."
+ << "You have to import QtQml 2.15 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.";
}
@@ -497,6 +498,7 @@ void QQmlBind::eval()
qmlWarning(this)
<< "Not restoring previous value because restoreMode has not been set."
<< "This behavior is deprecated."
+ << "You have to import QtQml 2.15 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.";
}