aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-12-04 17:19:56 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2019-12-10 12:48:56 +0100
commit2fd6d810e3fd94c8e5a8cffb584957675ab105ce (patch)
tree3a5738936be472ed64a382d2dcbe3fdeebc42835 /src/qml/types
parentfd2dab5640b7d1bd9fd5f5cd15dacfacc2fb7e69 (diff)
QML binding restoreMode warning: split into several lines
The text was printed without spaces. Add newlines as was probably originally intended. Change-Id: I4ee10b777c324a8f92c62b813ae6c959835b7a61 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/types')
-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;