Add 'open in mod view' button to split context menu (#2321)
This commit is contained in:
@@ -630,6 +630,17 @@ void Split::openBrowserPlayer()
|
||||
}
|
||||
}
|
||||
|
||||
void Split::openModViewInBrowser()
|
||||
{
|
||||
auto channel = this->getChannel();
|
||||
|
||||
if (auto twitchChannel = dynamic_cast<TwitchChannel *>(channel.get()))
|
||||
{
|
||||
QDesktopServices::openUrl("https://twitch.tv/moderator/" +
|
||||
twitchChannel->getName());
|
||||
}
|
||||
}
|
||||
|
||||
void Split::openInStreamlink()
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user