Fix popout player url (#1730)

* Update TwitchChannel.cpp

* Reformatting forsenY

* fixed other things

* xd

* Update TwitchChannel.cpp
This commit is contained in:
alazymeme
2020-06-13 03:44:05 +10:00
committed by GitHub
parent 39cc421f95
commit f3f8b2d024
4 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -134,7 +134,9 @@ public:
case ToastReaction::OpenInPlayer:
if (platform_ == Platform::Twitch)
{
link = "https://player.twitch.tv/?channel=" + channelName_;
link =
"https://player.twitch.tv/?parent=twitch.tv&channel=" +
channelName_;
}
QDesktopServices::openUrl(QUrl(link));
break;