Commit b0fd83ba authored by David Faure's avatar David Faure Committed by Heiko Becker
Browse files

Qt 5.15 undeprecated QComboBox::currentIndexChanged(int)

(Cherry-picked from 8cc12d03).
parent ac61b107
...@@ -295,17 +295,9 @@ void CryptoOperationsConfigWidget::setupGui() ...@@ -295,17 +295,9 @@ void CryptoOperationsConfigWidget::setupGui()
connect(mQuickSignCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed); connect(mQuickSignCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed);
connect(mQuickEncryptCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed); connect(mQuickEncryptCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mChecksumDefinitionCB, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), connect(mChecksumDefinitionCB, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
#else
connect(mChecksumDefinitionCB, static_cast<void (QComboBox::*)(int, const QString &)>(&QComboBox::currentIndexChanged) ,
#endif
this, &CryptoOperationsConfigWidget::changed); this, &CryptoOperationsConfigWidget::changed);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mArchiveDefinitionCB, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), connect(mArchiveDefinitionCB, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
#else
connect(mArchiveDefinitionCB, static_cast<void (QComboBox::*)(int, const QString &)>(&QComboBox::currentIndexChanged) ,
#endif
this, &CryptoOperationsConfigWidget::changed); this, &CryptoOperationsConfigWidget::changed);
connect(mPGPFileExtCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed); connect(mPGPFileExtCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed);
connect(mAutoDecryptVerifyCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed); connect(mAutoDecryptVerifyCB, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment