diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-01-05 21:07:35 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-01-13 20:14:07 +0000 |
commit | 0c65ffef9b021555c03081e4e60e91a268d46c98 (patch) | |
tree | 40be4ab28c3bc754105b9f8d04dfa118cc0bb00d /src/quicktemplates2/qquickscrollindicator.cpp | |
parent | 6d00ed2d5328e605bf846622a9dbe4dfe821aee4 (diff) |
QtQuickControls2: Use the newly-introduced qmlWarning instead of qmlInfo
qmlInfo will shortly be returning info-level messages (as the name
hints), rather than warning level messages.
Change-Id: I94123464b12b30a4ba085cfb7b606bc26df9b76e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickscrollindicator.cpp')
-rw-r--r-- | src/quicktemplates2/qquickscrollindicator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickscrollindicator.cpp b/src/quicktemplates2/qquickscrollindicator.cpp index e858e7c1..e9cadcc7 100644 --- a/src/quicktemplates2/qquickscrollindicator.cpp +++ b/src/quicktemplates2/qquickscrollindicator.cpp @@ -173,7 +173,7 @@ QQuickScrollIndicatorAttached *QQuickScrollIndicator::qmlAttachedProperties(QObj { QQuickFlickable *flickable = qobject_cast<QQuickFlickable *>(object); if (!flickable) - qmlInfo(object) << "ScrollIndicator must be attached to a Flickable"; + qmlWarning(object) << "ScrollIndicator must be attached to a Flickable"; return new QQuickScrollIndicatorAttached(flickable); } |