Skip to content

Commit

Permalink
GUI: Refactor Qt Signal/Slots to the new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfgrauberger authored and danmar committed Aug 13, 2017
1 parent 4bde6f7 commit a007ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/scratchpad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a007ba7

Please sign in to comment.