[partition] (unrelated) remove compatibility code for older Qt
This commit is contained in:
parent
425901fb98
commit
916b87e62e
@ -310,13 +310,8 @@ ChoicePage::setupChoices()
|
|||||||
|
|
||||||
m_itemsLayout->addStretch();
|
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,
|
connect( m_grp,
|
||||||
buttonSignal,
|
&QButtonGroup::idToggled,
|
||||||
this,
|
this,
|
||||||
[ this ]( int id, bool checked )
|
[ this ]( int id, bool checked )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user