mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Remove shadowing loginMethod
This commit is contained in:
parent
9713284435
commit
6befadeec8
1 changed files with 4 additions and 4 deletions
|
@ -311,9 +311,9 @@ LoginPage::versionError(const QString &error)
|
|||
}
|
||||
|
||||
void
|
||||
LoginPage::versionOk(LoginMethod loginMethod)
|
||||
LoginPage::versionOk(LoginMethod loginMethod_)
|
||||
{
|
||||
this->loginMethod = loginMethod;
|
||||
this->loginMethod = loginMethod_;
|
||||
|
||||
serverLayout_->removeWidget(spinner_);
|
||||
matrixidLayout_->removeWidget(spinner_);
|
||||
|
@ -372,8 +372,8 @@ LoginPage::onLoginButtonClicked()
|
|||
auto sso = new SSOHandler();
|
||||
connect(sso, &SSOHandler::ssoSuccess, this, [this, sso](std::string token) {
|
||||
mtx::requests::Login req{};
|
||||
req.token = token;
|
||||
req.type = mtx::user_interactive::auth_types::token;
|
||||
req.token = token;
|
||||
req.type = mtx::user_interactive::auth_types::token;
|
||||
req.device_id = deviceName_->text().trimmed().isEmpty()
|
||||
? initialDeviceName()
|
||||
: deviceName_->text().toStdString();
|
||||
|
|
Loading…
Reference in a new issue