[poppler] qt5/src
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 3 12:14:01 UTC 2019
qt5/src/poppler-optcontent.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a8dd0a5909c8902881fc382fa52eda462905979d
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Jul 3 14:10:13 2019 +0200
qt5: replace deprecated qStableSort with std::stable_sort
diff --git a/qt5/src/poppler-optcontent.cc b/qt5/src/poppler-optcontent.cc
index 49acd4a4..56abf871 100644
--- a/qt5/src/poppler-optcontent.cc
+++ b/qt5/src/poppler-optcontent.cc
@@ -367,7 +367,7 @@ namespace Poppler
Q_FOREACH (OptContentItem *item, changedItems) {
indexes.append(d->indexFromItem(item, 0));
}
- qStableSort(indexes);
+ std::stable_sort(indexes.begin(), indexes.end());
Q_FOREACH (const QModelIndex &changedIndex, indexes) {
emit dataChanged(changedIndex, changedIndex);
}
@@ -431,7 +431,7 @@ namespace Poppler
Q_FOREACH (OptContentItem *item, changedItems) {
indexes.append(d->indexFromItem(item, 0));
}
- qStableSort(indexes);
+ std::stable_sort(indexes.begin(), indexes.end());
Q_FOREACH (const QModelIndex &changedIndex, indexes) {
emit dataChanged(changedIndex, changedIndex);
}
More information about the poppler
mailing list