mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
UI: Fix unused-parameter warnings
This commit is contained in:
parent
580cf1163a
commit
f4809b614e
|
@ -64,6 +64,8 @@ OAuthLogin::OAuthLogin(QWidget *parent, const std::string &url, bool token)
|
|||
QVBoxLayout *topLayout = new QVBoxLayout(this);
|
||||
topLayout->addWidget(cefWidget);
|
||||
topLayout->addLayout(bottomLayout);
|
||||
#else
|
||||
UNUSED_PARAMETER(url);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -181,6 +181,8 @@ void YoutubeAuth::SetChatId(QString &chat_id)
|
|||
if (chat && chat->cefWidget) {
|
||||
chat->cefWidget->setURL(chat_url.toStdString());
|
||||
}
|
||||
#else
|
||||
UNUSED_PARAMETER(chat_id);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue