[partition] (unrelated) remove compatibility code for older Qt

This commit is contained in:
Adriaan de Groot 2022-06-02 18:36:26 +02:00
parent 425901fb98
commit 916b87e62e

View File

@ -310,13 +310,8 @@ ChoicePage::setupChoices()
m_itemsLayout->addStretch();
#if ( QT_VERSION < QT_VERSION_CHECK( 5, 15, 0 ) )
auto buttonSignal = QOverload< int, bool >::of( &QButtonGroup::buttonToggled );
#else
auto buttonSignal = &QButtonGroup::idToggled;
#endif
connect( m_grp,
buttonSignal,
&QButtonGroup::idToggled,
this,
[ this ]( int id, bool checked )
{