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/qquickswipeview.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/qquickswipeview.cpp')
-rw-r--r-- | src/quicktemplates2/qquickswipeview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickswipeview.cpp b/src/quicktemplates2/qquickswipeview.cpp index b2075e80..c447e5e0 100644 --- a/src/quicktemplates2/qquickswipeview.cpp +++ b/src/quicktemplates2/qquickswipeview.cpp @@ -127,7 +127,7 @@ void QQuickSwipeViewPrivate::resizeItems() QQuickAnchors *anchors = QQuickItemPrivate::get(item)->_anchors; // TODO: expose QQuickAnchorLine so we can test for other conflicting anchors if (anchors && (anchors->fill() || anchors->centerIn()) && !item->property("_q_QQuickSwipeView_warned").toBool()) { - qmlInfo(item) << "SwipeView has detected conflicting anchors. Unable to layout the item."; + qmlWarning(item) << "SwipeView has detected conflicting anchors. Unable to layout the item."; item->setProperty("_q_QQuickSwipeView_warned", true); } @@ -439,7 +439,7 @@ QQuickSwipeViewAttached::QQuickSwipeViewAttached(QObject *parent) : QQuickItemPrivate *p = QQuickItemPrivate::get(d->item); p->addItemChangeListener(d, QQuickItemPrivate::Parent | QQuickItemPrivate::Destroyed); } else if (parent) { - qmlInfo(parent) << "SwipeView: attached properties must be accessed from within a child item"; + qmlWarning(parent) << "SwipeView: attached properties must be accessed from within a child item"; } } |