This commit is contained in:
Martin Rotter 2023-03-17 09:14:08 +01:00
parent f896860f75
commit 085d5be953

View file

@ -22,7 +22,10 @@ AuthenticationDetails::AuthenticationDetails(bool only_basic, QWidget* parent) :
connect(m_txtUsername->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onUsernameChanged); connect(m_txtUsername->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onUsernameChanged);
connect(m_txtPassword->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onPasswordChanged); connect(m_txtPassword->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onPasswordChanged);
connect(m_cbAuthType, &QComboBox::currentIndexChanged, this, &AuthenticationDetails::onAuthenticationSwitched); connect(m_cbAuthType,
QOverload<int>::of(&QComboBox::currentIndexChanged),
this,
&AuthenticationDetails::onAuthenticationSwitched);
onAuthenticationSwitched(); onAuthenticationSwitched();
} }