diff --git a/gui/scratchpad.cpp b/gui/scratchpad.cpp index a882a78d2..3446e0648 100644 --- a/gui/scratchpad.cpp +++ b/gui/scratchpad.cpp @@ -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()