Skip to content
Permalink
Browse files
Merge pull request #43432 from elpaso/bugfix-ssh-config-protocols2
Fix emtpy labels in custom ssl options
  • Loading branch information
elpaso committed May 28, 2021
2 parents 5e15a2c + 9e704bd commit a1cdf7e8c246ae99207964f79078f61e3ff4c2a0
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/auth/qgsauthsslconfigwidget.cpp
@@ -120,14 +120,18 @@ void QgsAuthSslConfigWidget::setUpSslConfigTree()
mProtocolCmbBx = new QComboBox( treeSslConfig );
mProtocolCmbBx->addItem( QgsAuthCertUtils::getSslProtocolName( QSsl::SecureProtocols ),
static_cast<int>( QSsl::SecureProtocols ) );
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
mProtocolCmbBx->addItem( QgsAuthCertUtils::getSslProtocolName( QSsl::TlsV1SslV3 ),
static_cast<int>( QSsl::TlsV1SslV3 ) );
#endif
mProtocolCmbBx->addItem( QgsAuthCertUtils::getSslProtocolName( QSsl::TlsV1_0 ),
static_cast<int>( QSsl::TlsV1_0 ) );
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
mProtocolCmbBx->addItem( QgsAuthCertUtils::getSslProtocolName( QSsl::SslV3 ),
static_cast<int>( QSsl::SslV3 ) );
mProtocolCmbBx->addItem( QgsAuthCertUtils::getSslProtocolName( QSsl::SslV2 ),
static_cast<int>( QSsl::SslV2 ) );
#endif
mProtocolCmbBx->setMaximumWidth( 300 );
mProtocolCmbBx->setCurrentIndex( 0 );
QTreeWidgetItem *protocolitem = new QTreeWidgetItem(

0 comments on commit a1cdf7e

Please sign in to comment.