Merge pull request #837 from DioEgizio/fix-sort-mr
This commit is contained in:
commit
ed5415aeb8
@ -160,15 +160,15 @@ static auto sortFromIndex(int index) -> QString
|
|||||||
{
|
{
|
||||||
switch(index){
|
switch(index){
|
||||||
default:
|
default:
|
||||||
case 1:
|
case 0:
|
||||||
return "relevance";
|
return "relevance";
|
||||||
case 2:
|
case 1:
|
||||||
return "downloads";
|
return "downloads";
|
||||||
case 3:
|
case 2:
|
||||||
return "follows";
|
return "follows";
|
||||||
case 4:
|
case 3:
|
||||||
return "newest";
|
return "newest";
|
||||||
case 5:
|
case 4:
|
||||||
return "updated";
|
return "updated";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user