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

Traktor feature clean up #2084

Merged
merged 3 commits into from
Apr 21, 2019
Merged

Traktor feature clean up #2084

merged 3 commits into from
Apr 21, 2019

Conversation

daschuer
Copy link
Member

I have tweaked the Traktor feature that it is testable on Linux as well.

#else
location = volume;
#endif
location += path.replace(QString(":"), QString(""));
// Traktor uses /: instead of just / as delimiting character for some reasons
location += path.replace("/:", "/");
Copy link
Contributor

Choose a reason for hiding this comment

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

Good finding. The replacement is done twice (see below), so moving it into an inlined function (including the comment) would be even better.

@uklotzde
Copy link
Contributor

Good finding 👍 The code before was actually buggy and tried to fix the shortcomings with an ugly workaround.

@uklotzde uklotzde added this to the 2.3.0 milestone Apr 20, 2019
@daschuer
Copy link
Member Author

Done. Thank you for review.

@uklotzde
Copy link
Contributor

LGTM. Thank you.

@uklotzde uklotzde merged commit 5dd2f2f into mixxxdj:master Apr 21, 2019
@daschuer daschuer deleted the traktor_osx branch September 26, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants