1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net-im/qTox/files/patch-git-24811d10420901199b2fe0a5f35a391272f24f36
Tobias C. Berner c45de9579f Qt5 update to 5.13.0
For new features, check: https://wiki.qt.io/New_Features_in_Qt_5.13

Thanks to adridg who helped to fix a lot of packages.

Exp-run by:	antoine
PR:		238782
2019-10-01 04:13:31 +00:00

14 lines
747 B
Plaintext

diff --git src/persistence/offlinemsgengine.cpp src/persistence/offlinemsgengine.cpp
index 0e7247b3..b1cff673 100644
--- src/persistence/offlinemsgengine.cpp
+++ src/persistence/offlinemsgengine.cpp
@@ -101,7 +101,7 @@ void OfflineMsgEngine::deliverOfflineMsgs()
QVector<OfflineMessage> messages = sentMessages.values().toVector() + unsentMessages;
// order messages by authorship time to resend in same order as they were written
- qSort(messages.begin(), messages.end(), [](const OfflineMessage& lhs, const OfflineMessage& rhs) {
+ std::sort(messages.begin(), messages.end(), [](const OfflineMessage& lhs, const OfflineMessage& rhs) {
return lhs.authorshipTime < rhs.authorshipTime;
});
removeAllMessages();