summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modlistbypriorityproxy.cpp2
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);
}