mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Try to fix FTBS on not c++17 system
This commit is contained in:
@@ -472,16 +472,16 @@ void ShapeGraphicsItemPropertiesWidget::setUpEditConnection()
|
|||||||
|
|
||||||
if (m_shape || !m_shapes_list.isEmpty())
|
if (m_shape || !m_shapes_list.isEmpty())
|
||||||
{
|
{
|
||||||
m_edit_connection << connect (ui->m_style_cb, qOverload<int>(&QComboBox::activated),
|
m_edit_connection << connect (ui->m_style_cb, QOverload<int>::of(&QComboBox::activated),
|
||||||
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
||||||
|
|
||||||
m_edit_connection << connect (ui->m_size_dsb, qOverload<double>(&QDoubleSpinBox::valueChanged),
|
m_edit_connection << connect (ui->m_size_dsb, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
|
||||||
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
||||||
|
|
||||||
m_edit_connection << connect (ui->m_color_kpb, &KColorButton::changed,
|
m_edit_connection << connect (ui->m_color_kpb, &KColorButton::changed,
|
||||||
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
||||||
|
|
||||||
m_edit_connection << connect (ui->m_brush_style_cb, qOverload<int>(&QComboBox::activated),
|
m_edit_connection << connect (ui->m_brush_style_cb, QOverload<int>::of(&QComboBox::activated),
|
||||||
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
this, &ShapeGraphicsItemPropertiesWidget::apply);
|
||||||
|
|
||||||
m_edit_connection << connect (ui->m_brush_color_kpb, &KColorButton::changed,
|
m_edit_connection << connect (ui->m_brush_color_kpb, &KColorButton::changed,
|
||||||
|
|||||||
Reference in New Issue
Block a user