Fix formatting

This commit is contained in:
Jonas Kvinge 2020-01-05 19:09:03 +01:00
parent 959a957a56
commit 6b50d5140d
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,8 @@ void GlobalSearchModel::GetChildResults(
// 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 = parent_proxy_index.model()->index(i, 0, parent_proxy_index);
const QModelIndex proxy_index =
parent_proxy_index.model()->index(i, 0, parent_proxy_index);
const QModelIndex index = proxy_->mapToSource(proxy_index);
GetChildResults(itemFromIndex(index), results, visited);
}

View File

@ -273,7 +273,6 @@ QMimeData* InternetModel::mimeData(const QModelIndexList& indexes) const {
QModelIndex last_valid_index;
for (const QModelIndex& index : indexes) {
if (!IsPlayable(index)) continue;
last_valid_index = index;