Commit 9e50e0f9 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Port deprecated signal

parent e82ade53
......@@ -118,7 +118,11 @@ SigningProtocolSelectionWidget::SigningProtocolSelectionWidget(QWidget *parent,
{
m_buttonGroup = new QButtonGroup(this);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(m_buttonGroup, static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), this, &SigningProtocolSelectionWidget::userSelectionChanged);
#else
connect(m_buttonGroup, &QButtonGroup::idClicked, this, &SigningProtocolSelectionWidget::userSelectionChanged);
#endif
QVBoxLayout *const layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
......
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