mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Fix unused variable outside of #if
This commit is contained in:
parent
7b9e22e207
commit
57ae92206f
@ -553,9 +553,9 @@ static inline bool is_external_oauth(const std::string &service)
|
||||
|
||||
void AutoConfigStreamPage::reset_service_ui_fields(std::string &service)
|
||||
{
|
||||
#if YOUTUBE_ENABLED
|
||||
// when account is already connected:
|
||||
OAuthStreamKey *a = reinterpret_cast<OAuthStreamKey *>(auth.get());
|
||||
#if YOUTUBE_ENABLED
|
||||
if (a && service == a->service() && IsYouTubeService(a->service())) {
|
||||
ui->connectedAccountLabel->setVisible(true);
|
||||
ui->connectedAccountText->setVisible(true);
|
||||
|
Loading…
Reference in New Issue
Block a user