GUI: Refactor Qt Signal/Slots to the new syntax

This commit is contained in:
Rudolf Grauberger 2017-08-13 13:41:52 +02:00 committed by Daniel Marjamäki
parent 4bde6f77ed
commit a007ba7d3c
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ ScratchPad::ScratchPad(MainWindow& mainWindow)
{
mUI.setupUi(this);
connect(mUI.mCheckButton, SIGNAL(clicked()), this, SLOT(checkButtonClicked()));
connect(mUI.mCheckButton, &QPushButton::clicked, this, &ScratchPad::checkButtonClicked);
}
void ScratchPad::checkButtonClicked()