aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/types/qqmlbind.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/qml/types/qqmlbind.cpp b/src/qml/types/qqmlbind.cpp
index f74a9f245c..64c135b392 100644
--- a/src/qml/types/qqmlbind.cpp
+++ b/src/qml/types/qqmlbind.cpp
@@ -484,11 +484,11 @@ void QQmlBind::eval()
d->clearPrev();
} else if (!d->restoreModeExplicit) {
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.";
+ << "Not restoring previous value because restoreMode has not been set.\n"
+ << "This behavior is deprecated.\n"
+ << "You have to import QtQml 2.15 and set the restoreMode of the binding to fix this warning.\n"
+ << "In Qt < 6.0 the default is Binding.RestoreBinding.\n"
+ << "In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.\n";
}
} else if (d->prevIsVariant) {
if (d->restoreValue) {
@@ -496,11 +496,11 @@ void QQmlBind::eval()
d->clearPrev();
} else if (!d->restoreModeExplicit) {
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.";
+ << "Not restoring previous value because restoreMode has not been set.\n"
+ << "This behavior is deprecated.\n"
+ << "You have to import QtQml 2.15 and set the restoreMode of the binding to fix this warning.\n"
+ << "In Qt < 6.0 the default is Binding.RestoreBinding.\n"
+ << "In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.\n";
}
}
return;