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

Minor: Add missing hotkey Action for Open Player in Browser. #4756

Conversation

Mm2PL
Copy link
Collaborator

@Mm2PL Mm2PL commented Aug 7, 2023

Description

I missed this action

@Mm2PL Mm2PL changed the title Add openPlayerInBrowser action that didn't exist Bugfix: Add missing hotkey Action for Open Player in Browser. Aug 7, 2023
@Mm2PL Mm2PL changed the title Bugfix: Add missing hotkey Action for Open Player in Browser. Minor: Add missing hotkey Action for Open Player in Browser. Aug 7, 2023
@Mm2PL Mm2PL enabled auto-merge (squash) August 7, 2023 13:01
@Mm2PL Mm2PL merged commit 59160c5 into master Aug 7, 2023
15 of 16 checks passed
@Mm2PL Mm2PL deleted the fix/THE_ONE_SINGLE_SPLIT_HEADER_MENU_OPTION_THAT_DIDNT_HAVE_AN_ACTION branch August 7, 2023 13:41
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@@ -552,6 +552,11 @@ void Split::addShortcuts()
this->openWithCustomScheme();
return "";
}},
{"openPlayerInBrowser",
[this](std::vector<QString>) -> QString {
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: the parameter #1 is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param]

Suggested change
[this](std::vector<QString>) -> QString {
[this](const std::vector<QString>&) -> QString {

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