fix build in ubuntu via using deprecated Qt function
This commit is contained in:
parent
9d3d204018
commit
c618ce39af
|
|
@ -210,7 +210,7 @@ bool DoBuildStairsBox( BuildStairsRS* rs ){
|
|||
}
|
||||
{
|
||||
form->addWidget( check_detail = new QCheckBox( "Use Detail Brushes" ) );
|
||||
QObject::connect( group_style, &QButtonGroup::idClicked, [check_detail]( int id ){
|
||||
QObject::connect( group_style, QOverload<int>::of( &QButtonGroup::buttonClicked ), [check_detail]( int id ){
|
||||
check_detail->setEnabled( id == STYLE_BOB );
|
||||
} );
|
||||
check_detail->setEnabled( false );
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ public:
|
|||
static_cast<QHBoxLayout*>( m_hbox->layout() )->addLayout( m_radio.m_hbox );
|
||||
m_hbox->layout()->addWidget( m_entry );
|
||||
m_hbox->layout()->addWidget( m_butt.m_button );
|
||||
QObject::connect( m_radio.m_radio, &QButtonGroup::idClicked, ApplyRadioCaller( *this ) );
|
||||
QObject::connect( m_radio.m_radio, QOverload<int>::of( &QButtonGroup::buttonClicked ), ApplyRadioCaller( *this ) );
|
||||
}
|
||||
void release() override {
|
||||
delete this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user