From a007ba7d3c8399a5f25470bc8a2859fae3be0586 Mon Sep 17 00:00:00 2001 From: Rudolf Grauberger Date: Sun, 13 Aug 2017 13:41:52 +0200 Subject: [PATCH] GUI: Refactor Qt Signal/Slots to the new syntax --- gui/scratchpad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()