Fix text mistakes in advanced login dialog (#2966)

This commit is contained in:
Tal Neoran 2021-07-05 19:52:59 +03:00 committed by GitHub
parent 2af9284de5
commit cc9d44a0bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,13 +160,11 @@ AdvancedLoginWidget::AdvancedLoginWidget()
{ {
this->setLayout(&this->ui_.layout); this->setLayout(&this->ui_.layout);
this->ui_.instructionsLabel.setText( this->ui_.instructionsLabel.setText("1. Fill in your username"
"1. Fill in your username" "\n2. Fill in your user ID"
"\n2. Fill in your user ID or press the 'Get user ID from username' " "\n3. Fill in your client ID"
"button" "\n4. Fill in your OAuth token"
"\n3. Fill in your Client ID" "\n5. Press Add user");
"\n4. Fill in your OAuth Token"
"\n5. Press Add User");
this->ui_.instructionsLabel.setWordWrap(true); this->ui_.instructionsLabel.setWordWrap(true);
this->ui_.layout.addWidget(&this->ui_.instructionsLabel); this->ui_.layout.addWidget(&this->ui_.instructionsLabel);
@ -179,7 +177,7 @@ AdvancedLoginWidget::AdvancedLoginWidget()
this->ui_.formLayout.addRow("Username", &this->ui_.usernameInput); this->ui_.formLayout.addRow("Username", &this->ui_.usernameInput);
this->ui_.formLayout.addRow("User ID", &this->ui_.userIDInput); this->ui_.formLayout.addRow("User ID", &this->ui_.userIDInput);
this->ui_.formLayout.addRow("Client ID", &this->ui_.clientIDInput); this->ui_.formLayout.addRow("Client ID", &this->ui_.clientIDInput);
this->ui_.formLayout.addRow("Oauth token", &this->ui_.oauthTokenInput); this->ui_.formLayout.addRow("OAuth token", &this->ui_.oauthTokenInput);
this->ui_.oauthTokenInput.setEchoMode(QLineEdit::Password); this->ui_.oauthTokenInput.setEchoMode(QLineEdit::Password);