Commit 08e4b4df authored by Laurent Montel's avatar Laurent Montel 😁

Fix signal/slot

parent 913adb0d
......@@ -263,7 +263,7 @@ void ConclusionPage::finishClicked()
void ConclusionPage::aboutToShow()
{
connect(assistant(), SIGNAL(user1Clicked()), this, SLOT(finishClicked()));
connect(assistant()->finishButton(), &QPushButton::clicked, this, &ConclusionPage::finishClicked);
ui.m_restartAppOnFinish->setVisible(false);
ui.m_restartAppOnFinish->setChecked(false);
......@@ -404,7 +404,7 @@ void ConclusionPage::aboutToShow()
void ConclusionPage::aboutToHide()
{
assistant()->disconnect(SIGNAL(user1Clicked()), this, SLOT(finishClicked()));
disconnect(assistant()->finishButton(), &QPushButton::clicked, this, &ConclusionPage::finishClicked);
}
void ConclusionPage::openReportInformation()
......
......@@ -706,7 +706,7 @@ BugzillaSendPage::BugzillaSendPage(ReportAssistantDialog * parent)
ui.m_launchPageOnFinish->setVisible(false);
ui.m_restartAppOnFinish->setVisible(false);
connect(assistant(), SIGNAL(user1Clicked()), this, SLOT(finishClicked()));
connect(assistant()->finishButton(), &QPushButton::clicked, this, &BugzillaSendPage::finishClicked);
}
void BugzillaSendPage::retryClicked()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment