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

downgrade buttonClicked until Qt5.14 is avilable throughout

parent d448ab9c
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,10 @@ SampleToolBar::SampleToolBar(SampleViewActions* sampleActions, QWidget* parent)
m_pointerModeGroup = new QButtonGroup(this);
m_pointerModeGroup->addButton(selectionPointerButton, DesignerView::RUBBER_SELECTION);
m_pointerModeGroup->addButton(handPointerButton, DesignerView::HAND_DRAG);
connect(m_pointerModeGroup, static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::idClicked),
connect(m_pointerModeGroup,
static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked),
this, &SampleToolBar::selectionMode);
// TODO: replace buttonClicked by idClicked when Qt5.14 is available
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