Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(opti/cleanup) make use of WLibrary::getCurrentTrackTableView() #13335

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Jun 6, 2024

and move WLibraryTableView::moveSelection to WTracktableView (simplifies LibraryControl etc.)

This allows to call many methods directly from LibraryControl and remove virtuals from libraryview.h and the respective overrides from various library features.

Comment on lines 109 to 110
// This view is no tracks view, but maybe a special library view with a
// controls row and a track view (DlgAutoDJ, DlgRecording)?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were already cleaning up this comment, so it would make sense to fix all spelling & grammatical errors:

// This view is not a tracks view, but possibly a special library view
// with a controls row and a tracks view (DlgAutoDJ, DlgRecording,
// DlgHidden, DlgMissing, ...).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

FYI if you mark lines in the file diff tab you can click the +- button for change suggestions. This makes it easier to spot the difference.

@cr7pt0gr4ph7
Copy link
Contributor

Looks good (apart from the comment spelling nitpick).

and move WLibraryTableView::moveSelection to WTracktableView (simplifies LibraryControl etc.)
@ronso0 ronso0 force-pushed the library-getCurrentTrackTableView branch from 88c1980 to 55fa9af Compare June 7, 2024 22:36
@JoergAtGithub
Copy link
Member

LGTM! Thank you!

@JoergAtGithub JoergAtGithub merged commit 710fe59 into mixxxdj:2.5 Jun 8, 2024
13 checks passed
@ronso0 ronso0 deleted the library-getCurrentTrackTableView branch June 8, 2024 00:52
@daschuer daschuer added this to the 2.5-beta milestone Jun 8, 2024
cr7pt0gr4ph7 added a commit to cr7pt0gr4ph7/mixxx that referenced this pull request Jun 22, 2024
…tem-shortcut

Adapts the code to the changes introduced by mixxxdj#13335 in commit
55fa9af.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants