Fix formatting
This commit is contained in:
parent
959a957a56
commit
6b50d5140d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue