aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qquickmaterialstyle/tst_qquickmaterialstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qquickmaterialstyle/tst_qquickmaterialstyle.cpp b/tests/auto/qquickmaterialstyle/tst_qquickmaterialstyle.cpp
index 6b6eae15..269f7986 100644
--- a/tests/auto/qquickmaterialstyle/tst_qquickmaterialstyle.cpp
+++ b/tests/auto/qquickmaterialstyle/tst_qquickmaterialstyle.cpp
@@ -60,7 +60,7 @@ public slots:
void qmlWarnings(const QList<QQmlError> &warnings)
{
- for (const auto error : warnings) {
+ for (const auto &error : warnings) {
if (error.messageType() == QtWarningMsg && error.description().contains(QStringLiteral("Binding loop detected")))
mBindingLoopDetected = true;
}