mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-28 19:28:38 +00:00
Port qStableSort
This commit is contained in:
parent
5a3a49c310
commit
549c32e4be
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ static void preprocessXpsGradients( QList<XpsGradient> &gradients )
|
|||
return;
|
||||
|
||||
// sort the gradients (case 1.)
|
||||
qStableSort( gradients.begin(), gradients.end(), xpsGradientLessThan );
|
||||
std::stable_sort( gradients.begin(), gradients.end(), xpsGradientLessThan );
|
||||
|
||||
// no gradient with stop 0.0 (case 2.)
|
||||
if ( xpsGradientWithOffset( gradients, 0.0 ) == -1 ) {
|
||||
|
|
Loading…
Reference in a new issue