UI: Add links for Facebook stream key

This commit is contained in:
Richard Stanway 2019-07-23 00:47:18 +02:00
parent d396b2ec15
commit 1684b9bddb
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD
2 changed files with 14 additions and 0 deletions

View File

@ -582,6 +582,13 @@ void AutoConfigStreamPage::UpdateKeyLink()
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
} else if (serviceName == "Facebook Live") {
text += " <a href=\"https://";
text += "www.facebook.com/live/create";
text += "\">";
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
}
if (isYoutube) {

View File

@ -205,6 +205,13 @@ void OBSBasicSettings::UpdateKeyLink()
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
} else if (serviceName == "Facebook Live") {
text += " <a href=\"https://";
text += "www.facebook.com/live/create";
text += "\">";
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
}
ui->streamKeyLabel->setText(text);