Fix use of obsolete/deprecated Qt functionality

This commit is contained in:
baldurk
2019-07-10 14:42:54 +01:00
parent 328df29793
commit 6abfb6c790
3 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ void TimelineBar::HighlightResourceUsage(ResourceId id)
GUIInvoke::call(this, [this, usage]() {
for(const EventUsage &u : usage)
m_UsageEvents << u;
qSort(m_UsageEvents);
std::sort(m_UsageEvents.begin(), m_UsageEvents.end());
viewport()->update();
});
});
@@ -163,7 +163,7 @@ void TimelineBar::HighlightHistory(ResourceId id, const rdcarray<PixelModificati
for(const PixelModification &mod : history)
m_HistoryEvents << mod;
qSort(m_HistoryEvents);
std::sort(m_HistoryEvents.begin(), m_HistoryEvents.end());
}
viewport()->update();