diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-10-17 13:03:58 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-17 13:59:29 +0200 |
commit | f713037bf192748837f6075b2c60b19ccf3f9ab1 (patch) | |
tree | 3fda988997268c2a96729b1a7baa96583d453397 /tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp | |
parent | 830c69803e45daad2115498a8d5a6faeb75fe2a5 (diff) |
Fix coding style issues
Avoid Qt Sanity Bot noise when these files are moved.
Change-Id: I714e949837909883fe7e387ae336d2ffc4a1912b
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp')
-rw-r--r-- | tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp b/tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp index 7777b5c3b5..0920f0f65c 100644 --- a/tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp +++ b/tests/auto/declarative/qsgflickable/tst_qsgflickable.cpp @@ -644,7 +644,7 @@ T *tst_qsgflickable::findItem(QSGItem *parent, const QString &objectName) //qDebug() << parent->childItems().count() << "children"; for (int i = 0; i < parent->childItems().count(); ++i) { QSGItem *item = qobject_cast<QSGItem*>(parent->childItems().at(i)); - if(!item) + if (!item) continue; //qDebug() << "try" << item; if (mo.cast(item) && (objectName.isEmpty() || item->objectName() == objectName)) { |