VirtualBox

Changeset 90124 in vbox for trunk


Ignore:
Timestamp:
Jul 9, 2021 1:04:54 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145626
Message:

FE/Qt: bugref:9996: Don't swallow usr/password change signals even if the are not complete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIUserNamePasswordEditor.cpp

    r90107 r90124  
    376376    connect(m_pPasswordLineEdit, &UIPasswordLineEdit::textChanged,
    377377            this, &UIUserNamePasswordEditor::sltPasswordChanged);
     378    connect(m_pPasswordRepeatLineEdit, &UIPasswordLineEdit::textChanged,
     379            this, &UIUserNamePasswordEditor::sltPasswordChanged);
    378380    connect(m_pUserNameLineEdit, &QILineEdit::textChanged,
    379381            this, &UIUserNamePasswordEditor::sltUserNameChanged);
     
    396398void UIUserNamePasswordEditor::sltUserNameChanged()
    397399{
    398     if (isUserNameComplete())
    399         emit sigUserNameChanged(m_pUserNameLineEdit->text());
     400    isUserNameComplete();
     401    emit sigUserNameChanged(m_pUserNameLineEdit->text());
    400402}
    401403
    402404void UIUserNamePasswordEditor::sltPasswordChanged()
    403405{
    404     if (isPasswordComplete())
    405         emit sigPasswordChanged(m_pPasswordLineEdit->text());
     406    isPasswordComplete();
     407    emit sigPasswordChanged(m_pPasswordLineEdit->text());
    406408}
    407409
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette