aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickscrollbar.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-01-05 21:07:35 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-01-13 20:14:07 +0000
commit0c65ffef9b021555c03081e4e60e91a268d46c98 (patch)
tree40be4ab28c3bc754105b9f8d04dfa118cc0bb00d /src/quicktemplates2/qquickscrollbar.cpp
parent6d00ed2d5328e605bf846622a9dbe4dfe821aee4 (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/qquickscrollbar.cpp')
-rw-r--r--src/quicktemplates2/qquickscrollbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickscrollbar.cpp b/src/quicktemplates2/qquickscrollbar.cpp
index e8c523f2..d8729637 100644
--- a/src/quicktemplates2/qquickscrollbar.cpp
+++ b/src/quicktemplates2/qquickscrollbar.cpp
@@ -274,7 +274,7 @@ QQuickScrollBarAttached *QQuickScrollBar::qmlAttachedProperties(QObject *object)
{
QQuickFlickable *flickable = qobject_cast<QQuickFlickable *>(object);
if (!flickable)
- qmlInfo(object) << "ScrollBar must be attached to a Flickable";
+ qmlWarning(object) << "ScrollBar must be attached to a Flickable";
return new QQuickScrollBarAttached(flickable);
}