mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Minor: Add missing hotkey Action for Open Player in Browser. (#4756)
This commit is contained in:
parent
e0417bc87e
commit
59160c5d04
4 changed files with 11 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
- Minor: Allow for customizing the behavior of `Right Click`ing of usernames. (#4622, #4751)
|
||||
- Minor: Added support for opening incognito links in firefox-esr and chromium. (#4745)
|
||||
- Minor: Added support for opening incognito links under Linux/BSD using XDG. (#4745)
|
||||
- Minor: Add missing hotkey Action for Open Player in Browser. (#4756)
|
||||
- Bugfix: Increased amount of blocked users loaded from 100 to 1,000. (#4721)
|
||||
- Bugfix: Fixed generation of crashdumps by the browser-extension process when the browser was closed. (#4667)
|
||||
- Bugfix: Fix spacing issue with mentions inside RTL text. (#4677)
|
||||
|
|
|
@ -110,6 +110,8 @@ inline const std::map<HotkeyCategory, ActionDefinitionMap> actionNames{
|
|||
"Which direction to look for a split to focus?",
|
||||
}},
|
||||
{"openInBrowser", ActionDefinition{"Open channel in browser"}},
|
||||
{"openPlayerInBrowser",
|
||||
ActionDefinition{"Open stream in browser player"}},
|
||||
{"openInCustomPlayer",
|
||||
ActionDefinition{"Open stream in custom player"}},
|
||||
{"openInStreamlink", ActionDefinition{"Open stream in streamlink"}},
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue