Add option to specify the scale factor
fixes #357 fixes #335 fixes #230
This commit is contained in:
parent
18695d636d
commit
85e93a88a6
7 changed files with 99 additions and 5 deletions
|
|
@ -277,7 +277,8 @@ LoginPage::onLoginButtonClicked()
|
|||
http::client()->login(
|
||||
user.localpart(),
|
||||
password_input_->text().toStdString(),
|
||||
deviceName_->text().isEmpty() ? initialDeviceName() : deviceName_->text().toStdString(),
|
||||
deviceName_->text().trimmed().isEmpty() ? initialDeviceName()
|
||||
: deviceName_->text().toStdString(),
|
||||
[this](const mtx::responses::Login &res, mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
emit loginError(QString::fromStdString(err->matrix_error.error));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue