aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/quick/qquicktreeview/testmodel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicktreeview/testmodel.cpp b/tests/auto/quick/qquicktreeview/testmodel.cpp
index 66fbf9b656..85aef35cde 100644
--- a/tests/auto/quick/qquicktreeview/testmodel.cpp
+++ b/tests/auto/quick/qquicktreeview/testmodel.cpp
@@ -148,7 +148,6 @@ bool TestModel::insertColumns(int position, int cols, const QModelIndex &parent)
}
beginInsertColumns(parent, position, position + cols - 1);
- TreeItem *parentItem = treeItem(parent);
TreeItem *item = m_rootItem.data();