From e11958dd58b155019af650574eb7cd336790ab07 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 9 Jul 2019 01:02:54 +0200 Subject: [PATCH] Fix index in InternetSearchModel --- src/internet/internetsearchmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet/internetsearchmodel.cpp b/src/internet/internetsearchmodel.cpp index 857be685b..4fdd6f1ee 100644 --- a/src/internet/internetsearchmodel.cpp +++ b/src/internet/internetsearchmodel.cpp @@ -292,7 +292,7 @@ void InternetSearchModel::GetChildResults(const QStandardItem *item, InternetSea // Yes - visit all the children, but do so through the proxy so we get them in the right order. for (int i = 0; i < item->rowCount(); ++i) { - const QModelIndex proxy_index = index(i, 0, parent_proxy_index); + const QModelIndex proxy_index = proxy_->index(i, 0, parent_proxy_index); const QModelIndex index = proxy_->mapToSource(proxy_index); GetChildResults(itemFromIndex(index), results, visited); }