Rename NeedLogin to set_need_login

This commit is contained in:
Jonas Kvinge
2021-06-28 00:21:14 +02:00
parent 18dc6f3c88
commit bb134ee7ac
5 changed files with 7 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ QByteArray TidalBaseRequest::GetReplyData(QNetworkReply *reply, const bool send_
if (!oauth() && send_login && login_attempts() < max_login_attempts() && !api_token().isEmpty() && !username().isEmpty() && !password().isEmpty()) {
qLog(Error) << "Tidal:" << error;
qLog(Info) << "Tidal:" << "Attempting to login.";
NeedLogin();
set_need_login();
emit service_->RequestLogin(); // clazy:exclude=incorrect-emit
}
else {