Add an "Open in browser" option to whisper split (#1828)
This commit is contained in:
@@ -316,6 +316,13 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
||||
menu->addSeparator();
|
||||
}
|
||||
|
||||
if (this->split_->getChannel()->getType() == Channel::Type::TwitchWhispers)
|
||||
{
|
||||
menu->addAction(OPEN_IN_BROWSER, this->split_,
|
||||
&Split::openWhispersInBrowser);
|
||||
menu->addSeparator();
|
||||
}
|
||||
|
||||
{
|
||||
// "How to..." sub menu
|
||||
auto subMenu = new QMenu("How to...", this);
|
||||
|
||||
Reference in New Issue
Block a user