aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Rauter <matthias.rauter@qt.io>2025-02-24 17:15:40 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-02-26 19:54:45 +0000
commitd027a923096b6ad6195f0bf7775f5bc90424c661 (patch)
treee7d710d9aae2a6e09109e55eaee538145d8a3092
parent4f49d3ea32f83457337fdebafd5a709bb26a91dd (diff)
Remove unused variable in test
Pick-to: 6.8 Change-Id: I247781741f2d1ec41b21fb4128560e084c82d466 Reviewed-by: Mate Barany <mate.barany@qt.io> (cherry picked from commit 704483729401bf7ad9db427fc85b9437d83ccb3c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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();