aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qsgvisualdatamodel
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-17 13:03:58 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-17 13:59:29 +0200
commitf713037bf192748837f6075b2c60b19ccf3f9ab1 (patch)
tree3fda988997268c2a96729b1a7baa96583d453397 /tests/auto/declarative/qsgvisualdatamodel
parent830c69803e45daad2115498a8d5a6faeb75fe2a5 (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/qsgvisualdatamodel')
-rw-r--r--tests/auto/declarative/qsgvisualdatamodel/tst_qsgvisualdatamodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qsgvisualdatamodel/tst_qsgvisualdatamodel.cpp b/tests/auto/declarative/qsgvisualdatamodel/tst_qsgvisualdatamodel.cpp
index 33558fe8a2..d9fec3f8b3 100644
--- a/tests/auto/declarative/qsgvisualdatamodel/tst_qsgvisualdatamodel.cpp
+++ b/tests/auto/declarative/qsgvisualdatamodel/tst_qsgvisualdatamodel.cpp
@@ -1531,7 +1531,7 @@ T *tst_qsgvisualdatamodel::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)) {