Skip to content

Commit

Permalink
std::sort replaces qSort for qt6 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Nov 7, 2024
1 parent d064ebf commit 3a124b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relightlab/queueframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void QueueFrame::remove() {
ProcessQueue &queue = ProcessQueue::instance();

QModelIndexList selection = list->selectionModel()->selection().indexes();
qSort(selection.begin(), selection.end(),
std::sort(selection.begin(), selection.end(),
[](const QModelIndex &a, const QModelIndex &b) -> bool { return a.row() < b.row(); });

while(!selection.isEmpty()) {
Expand Down

0 comments on commit 3a124b8

Please sign in to comment.