Clarify "Custom stream player" functionality (#1889)

* Clarify "Custom stream player" functionality

* Remove idiotic idiot proofing
This commit is contained in:
pajlada
2020-08-22 09:01:16 -04:00
committed by GitHub
parent 7d0602de47
commit b98c0c2a44
3 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -575,11 +575,12 @@ void Split::openInStreamlink()
void Split::openWithCustomScheme()
{
const auto scheme = getSettings()->customURIScheme.getValue();
QString scheme = getSettings()->customURIScheme.getValue();
if (scheme.isEmpty())
{
return;
}
const auto channel = this->getChannel().get();
if (const auto twitchChannel = dynamic_cast<TwitchChannel *>(channel))