mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
c45de9579f
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
14 lines
747 B
Plaintext
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();
|