-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
(feat) Playlists: add action to remove duplicate tracks #15397
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
base: main
Are you sure you want to change the base?
Conversation
db072ca to
1493df0
Compare
1493df0 to
0830c57
Compare
0830c57 to
d3b27f5
Compare
|
This PR is marked as stale because it has been open 90 days with no activity. |
| QDialog dlgSelectTracksToKeep; | ||
| dlgSelectTracksToKeep.setWindowTitle(tr("Remove Duplicate Tracks")); | ||
| auto pDescriptionLabel = make_parented<QLabel>( | ||
| tr("Select which of each duplicate track you want to keep."), |
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.
| tr("Select which of each duplicate track you want to keep."), | |
| tr("Select which duplicate tracks you want to keep."), |
| tr("First position"), &dlgSelectTracksToKeep); | ||
| auto pLastPosButton = make_parented<QRadioButton>( | ||
| tr("Last position"), &dlgSelectTracksToKeep); | ||
| auto pFirstAddedButton = make_parented<QRadioButton>( | ||
| tr("First added"), &dlgSelectTracksToKeep); | ||
| auto pLastAddedButton = make_parented<QRadioButton>( | ||
| tr("Last added"), &dlgSelectTracksToKeep); |
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.
| tr("First position"), &dlgSelectTracksToKeep); | |
| auto pLastPosButton = make_parented<QRadioButton>( | |
| tr("Last position"), &dlgSelectTracksToKeep); | |
| auto pFirstAddedButton = make_parented<QRadioButton>( | |
| tr("First added"), &dlgSelectTracksToKeep); | |
| auto pLastAddedButton = make_parented<QRadioButton>( | |
| tr("Last added"), &dlgSelectTracksToKeep); | |
| tr("Keep first position"), &dlgSelectTracksToKeep); | |
| auto pLastPosButton = make_parented<QRadioButton>( | |
| tr("Keep last position"), &dlgSelectTracksToKeep); | |
| auto pFirstAddedButton = make_parented<QRadioButton>( | |
| tr("Keep first added"), &dlgSelectTracksToKeep); | |
| auto pLastAddedButton = make_parented<QRadioButton>( | |
| tr("Keep last added"), &dlgSelectTracksToKeep); |
|
|
||
| auto pButtons = make_parented<QDialogButtonBox>(&dlgSelectTracksToKeep); | ||
| QPushButton* pCancelBtn = pButtons->addButton(tr("Cancel"), QDialogButtonBox::RejectRole); | ||
| QPushButton* pOkayBtn = pButtons->addButton(tr("Okay"), QDialogButtonBox::AcceptRole); |
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.
| QPushButton* pOkayBtn = pButtons->addButton(tr("Okay"), QDialogButtonBox::AcceptRole); | |
| QPushButton* pOkayBtn = pButtons->addButton(tr("Continue"), QDialogButtonBox::AcceptRole); |
Closes #13748
There's a dialog that let's you select which of the duplicates you want to keep:
