@@ -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());
+ UNUSED_PARAMETER(chat_id);