mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Fix use of obsolete/deprecated Qt functionality
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user