diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-27 17:22:54 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:14 +0100 |
| commit | 604da06bd82e012c4e38ac6c780505ee3de24903 (patch) | |
| tree | f88ec3dd6f7f10239da3149a24ff092f0c1e9838 /src/modlistbypriorityproxy.cpp | |
| parent | d4e05894704544a37414a4cfafbb2613a6f570c1 (diff) | |
Fix expansion of items when building tree.
Diffstat (limited to 'src/modlistbypriorityproxy.cpp')
| -rw-r--r-- | src/modlistbypriorityproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlistbypriorityproxy.cpp b/src/modlistbypriorityproxy.cpp index d69950db..f07142b4 100644 --- a/src/modlistbypriorityproxy.cpp +++ b/src/modlistbypriorityproxy.cpp @@ -73,7 +73,7 @@ void ModListByPriorityProxy::buildTree() void ModListByPriorityProxy::expandItems(const QModelIndex& index) { for (int row = 0; row < rowCount(index); row++) { - QModelIndex idx = this->index(row, 0, QModelIndex()); + QModelIndex idx = this->index(row, 0, index); if (!m_CollapsedItems.contains(idx.data(Qt::DisplayRole).toString())) { emit expandItem(idx); } |
