-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
(opti/cleanup) make use of WLibrary::getCurrentTrackTableView() #13335
Conversation
3d10f99
to
88c1980
Compare
src/widget/wlibrary.cpp
Outdated
// This view is no tracks view, but maybe a special library view with a | ||
// controls row and a track view (DlgAutoDJ, DlgRecording)? |
There was a problem hiding this comment.
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, ...).
There was a problem hiding this comment.
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.
Looks good (apart from the comment spelling nitpick). |
and move WLibraryTableView::moveSelection to WTracktableView (simplifies LibraryControl etc.)
88c1980
to
55fa9af
Compare
LGTM! Thank you! |
…tem-shortcut Adapts the code to the changes introduced by mixxxdj#13335 in commit 55fa9af.
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.