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

This commit is contained in:
Mm2PL
2023-08-07 15:41:32 +02:00
committed by GitHub
parent e0417bc87e
commit 59160c5d04
4 changed files with 11 additions and 1 deletions
+5
View File
@@ -552,6 +552,11 @@ void Split::addShortcuts()
this->openWithCustomScheme();
return "";
}},
{"openPlayerInBrowser",
[this](std::vector<QString>) -> QString {
this->openBrowserPlayer();
return "";
}},
{"openModView",
[this](std::vector<QString>) -> QString {
this->openModViewInBrowser();
+3 -1
View File
@@ -399,7 +399,9 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
h->getDisplaySequence(HotkeyCategory::Split, "openInBrowser"));
#ifndef USEWEBENGINE
menu->addAction(OPEN_PLAYER_IN_BROWSER, this->split_,
&Split::openBrowserPlayer);
&Split::openBrowserPlayer,
h->getDisplaySequence(HotkeyCategory::Split,
"openPlayerInBrowser"));
#endif
menu->addAction(
OPEN_IN_STREAMLINK, this->split_, &Split::openInStreamlink,