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/qquicktooltip.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/qquicktooltip.cpp')
-rw-r--r-- | src/quicktemplates2/qquicktooltip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquicktooltip.cpp b/src/quicktemplates2/qquicktooltip.cpp index 7a98ea58..d638a3c2 100644 --- a/src/quicktemplates2/qquicktooltip.cpp +++ b/src/quicktemplates2/qquicktooltip.cpp @@ -265,7 +265,7 @@ QQuickToolTipAttached *QQuickToolTip::qmlAttachedProperties(QObject *object) { QQuickItem *item = qobject_cast<QQuickItem *>(object); if (!item) - qmlInfo(object) << "ToolTip must be attached to an Item"; + qmlWarning(object) << "ToolTip must be attached to an Item"; return new QQuickToolTipAttached(object); } |