Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Mar 7, 2025
1 parent 6054e8f commit bf6eae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/userinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void UserInfo::slotUpdateLastInfo(const QJsonDocument &json)
if (QString::compare(account->davUser(), newUserId, Qt::CaseInsensitive) != 0) {
// TODO: the error message should be in the UI
qInfo() << "Authenticated with the wrong user! Please login with the account:" << account->prettyName();
if (const auto cred = account->credentials()) {
if (account->credentials()) {
account->credentials()->askFromUser();
}
return;
Expand Down

0 comments on commit bf6eae4

Please sign in to comment.