UI: Show error if Google account has no channels
This commit is contained in:
parent
db368b5afc
commit
9b57490e2c
2 changed files with 11 additions and 1 deletions
|
|
@ -424,7 +424,10 @@ static void get_yt_ch_title(Ui::OBSBasicSettings *ui,
|
|||
if (IsYouTubeService(
|
||||
QT_TO_UTF8(ui->service->currentText()))) {
|
||||
ui->connectedAccountText->setText(
|
||||
QTStr("Auth.LoadingChannel.Error"));
|
||||
ytAuth->GetLastError().isEmpty()
|
||||
? QTStr("Auth.LoadingChannel.Error")
|
||||
: QTStr("YouTube.AuthError.Text")
|
||||
.arg(ytAuth->GetLastError()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue