Skip to content
Snippets Groups Projects

qml: use async api to query data for context menu handling

Merged Prince Gupta requested to merge jagannatharjun/vlc:ctrl-a-add-and-play into master

fixes #26889 (closed)

Problem - The cause of #26889 (closed) was the use of MLBaseMOdel::data to query MLItemID data in the context menu. That function may not return correct data because of chunk based nature of MLBaseModel.

Fix - Use the async data API of MLBaseModel (MLBaseModel::getData) to asynchronously query data from the model. I also took the opportunity to generalize ContextMenu code and remove redundant structures.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading