Formatting
This commit is contained in:
@@ -329,7 +329,7 @@ void InternetSearchModel::GetChildResults(const QStandardItem *item, InternetSea
|
||||
const QModelIndex parent_proxy_index = proxy_->mapFromSource(item->index());
|
||||
|
||||
// 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) {
|
||||
for (int i = 0; i < item->rowCount(); ++i) {
|
||||
const QModelIndex proxy_index = parent_proxy_index.model()->index(i, 0, parent_proxy_index);
|
||||
const QModelIndex idx = proxy_->mapToSource(proxy_index);
|
||||
GetChildResults(itemFromIndex(idx), results, visited);
|
||||
@@ -361,7 +361,7 @@ void GatherResults(const QStandardItem *parent, InternetSearchView::ResultList *
|
||||
(*results).append(result);
|
||||
}
|
||||
|
||||
for (int i = 0 ; i < parent->rowCount() ; ++i) {
|
||||
for (int i = 0; i < parent->rowCount(); ++i) {
|
||||
GatherResults(parent->child(i), results);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user