fix: sorting never changes the queue
Removed the sortApplied→syncQueueToModel connection. Sorting the track list only reorders the view; the queue is only set when a track is actually played (double-click or Play Now), at which point the current sorted order and clicked row are used. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,13 +29,11 @@ namespace List
|
||||
void playTrackRequested(qint64 trackId);
|
||||
|
||||
private:
|
||||
TrackListModel *m_model = nullptr;
|
||||
QobuzBackend *m_backend = nullptr;
|
||||
PlayQueue *m_queue = nullptr;
|
||||
qint64 m_playingId = 0;
|
||||
TrackListModel *m_model = nullptr;
|
||||
QobuzBackend *m_backend = nullptr;
|
||||
PlayQueue *m_queue = nullptr;
|
||||
|
||||
void onDoubleClicked(const QModelIndex &index);
|
||||
void onContextMenu(const QPoint &pos);
|
||||
void syncQueueToModel();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user