diff --git a/src/librssguard/services/abstract/gui/authenticationdetails.cpp b/src/librssguard/services/abstract/gui/authenticationdetails.cpp index 31575e694..8d5fae483 100644 --- a/src/librssguard/services/abstract/gui/authenticationdetails.cpp +++ b/src/librssguard/services/abstract/gui/authenticationdetails.cpp @@ -22,7 +22,10 @@ AuthenticationDetails::AuthenticationDetails(bool only_basic, QWidget* parent) : connect(m_txtUsername->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onUsernameChanged); connect(m_txtPassword->lineEdit(), &BaseLineEdit::textChanged, this, &AuthenticationDetails::onPasswordChanged); - connect(m_cbAuthType, &QComboBox::currentIndexChanged, this, &AuthenticationDetails::onAuthenticationSwitched); + connect(m_cbAuthType, + QOverload::of(&QComboBox::currentIndexChanged), + this, + &AuthenticationDetails::onAuthenticationSwitched); onAuthenticationSwitched(); }