diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-04-22 16:39:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-23 07:34:46 +0200 |
commit | ae50eaa4109db683b121106f3c9bf497c603a88d (patch) | |
tree | 9b40c7f37a2b41c2b5f6b7fafd6685892b3affc8 /src/quick/items/qquickpathview.cpp | |
parent | 3e3b5709025d3564215cfca4f9aa5da95742a61f (diff) |
Fix lupdate-warning "Cannot invoke tr() like this".
Change-Id: I3ded3d9ab9fa202a3133c53fd6e17a8354481d0c
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/items/qquickpathview.cpp')
-rw-r--r-- | src/quick/items/qquickpathview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickpathview.cpp b/src/quick/items/qquickpathview.cpp index e9aa6985fc..7798641fcd 100644 --- a/src/quick/items/qquickpathview.cpp +++ b/src/quick/items/qquickpathview.cpp @@ -159,7 +159,7 @@ QQuickItem *QQuickPathViewPrivate::getItem(int modelIndex, qreal z, bool async) if (!delegateValidated) { delegateValidated = true; QObject* delegate = q->delegate(); - qmlInfo(delegate ? delegate : q) << q->tr("Delegate must be of Item type"); + qmlInfo(delegate ? delegate : q) << QQuickPathView::tr("Delegate must be of Item type"); } } } else { |