Revert "fix build in ubuntu via using deprecated Qt function"
This reverts commit c618ce39af.
This commit is contained in:
parent
e77d713bad
commit
60e3e48dd0
|
|
@ -210,7 +210,7 @@ bool DoBuildStairsBox( BuildStairsRS* rs ){
|
|||
}
|
||||
{
|
||||
form->addWidget( check_detail = new QCheckBox( "Use Detail Brushes" ) );
|
||||
QObject::connect( group_style, QOverload<int>::of( &QButtonGroup::buttonClicked ), [check_detail]( int id ){
|
||||
QObject::connect( group_style, &QButtonGroup::idClicked, [check_detail]( int id ){
|
||||
check_detail->setEnabled( id == STYLE_BOB );
|
||||
} );
|
||||
check_detail->setEnabled( false );
|
||||
|
|
|
|||
|
|
@ -428,7 +428,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, QOverload<int>::of( &QButtonGroup::buttonClicked ), ApplyRadioCaller( *this ) );
|
||||
QObject::connect( m_radio.m_radio, &QButtonGroup::idClicked, ApplyRadioCaller( *this ) );
|
||||
}
|
||||
void release() override {
|
||||
delete this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user