GUI: Refactor Qt Signal/Slots to the new syntax
This commit is contained in:
parent
4bde6f77ed
commit
a007ba7d3c
|
@ -26,7 +26,7 @@ ScratchPad::ScratchPad(MainWindow& mainWindow)
|
||||||
{
|
{
|
||||||
mUI.setupUi(this);
|
mUI.setupUi(this);
|
||||||
|
|
||||||
connect(mUI.mCheckButton, SIGNAL(clicked()), this, SLOT(checkButtonClicked()));
|
connect(mUI.mCheckButton, &QPushButton::clicked, this, &ScratchPad::checkButtonClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScratchPad::checkButtonClicked()
|
void ScratchPad::checkButtonClicked()
|
||||||
|
|
Loading…
Reference in New Issue