1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 19:45:31 +01:00

Fix the priority ordering of global search results

This commit is contained in:
David Sansome 2011-11-05 17:01:57 +00:00
parent dc05c101a3
commit e0beff096d

View File

@ -604,7 +604,7 @@ GlobalSearchWidget::CombineAction GlobalSearchWidget::CanCombineResults(
const int p1 = provider_order_.indexOf(r1.provider_->id());
const int p2 = provider_order_.indexOf(r2.provider_->id());
return p2 > p1 ? RightPreferred : LeftPreferred;
return p2 > p1 ? LeftPreferred : RightPreferred;
}
void GlobalSearchWidget::CombineResults(const QModelIndex& superior, const QModelIndex& inferior) {