Skip to content
Snippets Groups Projects
Commit f108e579 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

replace deprecated buttonClicked

parent 9da65595
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ SampleToolBar::SampleToolBar(SampleViewActions* sampleActions, QWidget* parent)
m_pointerModeGroup->addButton(selectionPointerButton, DesignerView::RUBBER_SELECTION);
m_pointerModeGroup->addButton(handPointerButton, DesignerView::HAND_DRAG);
connect(m_pointerModeGroup,
static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), this,
static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::idClicked), this,
&SampleToolBar::selectionMode);
addWidget(selectionPointerButton);
addWidget(handPointerButton);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment