mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-19 03:35:04 -04:00
UI: Upgrade stream key link to button in Wizard
Follow up to #2145: https://github.com/obsproject/obs-studio/pull/2145 The wizard has a stream link URL as well, adding the button in the wizard to match. Additionally, fixing a few errors in the UI layout and spacing where items were not padded.
This commit is contained in:
@@ -216,18 +216,19 @@ void OBSBasicSettings::UpdateKeyLink()
|
||||
QString serviceName = ui->service->currentText();
|
||||
QString streamKeyLink;
|
||||
if (serviceName == "Twitch") {
|
||||
streamKeyLink = QTStr(
|
||||
"https://www.twitch.tv/broadcast/dashboard/streamkey");
|
||||
streamKeyLink =
|
||||
"https://www.twitch.tv/broadcast/dashboard/streamkey";
|
||||
} else if (serviceName == "YouTube / YouTube Gaming") {
|
||||
streamKeyLink = QTStr("https://www.youtube.com/live_dashboard");
|
||||
streamKeyLink = "https://www.youtube.com/live_dashboard";
|
||||
} else if (serviceName.startsWith("Restream.io")) {
|
||||
streamKeyLink = QTStr(
|
||||
"https://restream.io/settings/streaming-setup?from=OBS");
|
||||
streamKeyLink =
|
||||
"https://restream.io/settings/streaming-setup?from=OBS";
|
||||
} else if (serviceName == "Facebook Live") {
|
||||
streamKeyLink +=
|
||||
QTStr("https://www.facebook.com/live/create?ref=OBS");
|
||||
streamKeyLink = "https://www.facebook.com/live/create?ref=OBS";
|
||||
} else if (serviceName.startsWith("Twitter")) {
|
||||
streamKeyLink = QTStr("https://www.pscp.tv/account/producer");
|
||||
streamKeyLink = "https://www.pscp.tv/account/producer";
|
||||
} else if (serviceName.startsWith("YouStreamer")) {
|
||||
streamKeyLink = "https://www.app.youstreamer.com/stream/";
|
||||
}
|
||||
|
||||
if (QString(streamKeyLink).isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user