diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index 235780812..d8ddbfa44 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -731,9 +731,24 @@ void AutoConfigStreamPage::UpdateKeyLink() if (serviceName == "Dacast") { ui->streamKeyLabel->setText( QTStr("Basic.AutoConfig.StreamPage.EncoderKey")); - } else { + ui->streamKeyLabel->setToolTip(""); + } else if (!IsCustomService()) { ui->streamKeyLabel->setText( QTStr("Basic.AutoConfig.StreamPage.StreamKey")); + ui->streamKeyLabel->setToolTip(""); + } else { + /* add tooltips for stream key */ + QString file = !App()->IsThemeDark() + ? ":/res/images/help.svg" + : ":/res/images/help_light.svg"; + QString lStr = "%1 "; + + ui->streamKeyLabel->setText(lStr.arg( + QTStr("Basic.AutoConfig.StreamPage.StreamKey"), file)); + ui->streamKeyLabel->setToolTip( + QTStr("Basic.AutoConfig.StreamPage.StreamKey.ToolTip")); } if (QString(streamKeyLink).isNull() ||