|
|
@ -116,14 +116,14 @@ bool SearchSortModel::lessThan(const QModelIndex &left, const QModelIndex &right |
|
|
|
if (result != 0) |
|
|
|
if (result != 0) |
|
|
|
return (result < 0); |
|
|
|
return (result < 0); |
|
|
|
|
|
|
|
|
|
|
|
return (mapFromSource(left) < mapFromSource(right)); |
|
|
|
return (left < right); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
if (left.data() != right.data()) |
|
|
|
if (left.data() != right.data()) |
|
|
|
return base::lessThan(left, right); |
|
|
|
return base::lessThan(left, right); |
|
|
|
|
|
|
|
|
|
|
|
return (mapFromSource(left) < mapFromSource(right)); |
|
|
|
return (left < right); |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|