From fd3076a4eb547c1b64a83f5a70b5b46d57bea939 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 20 Jan 2015 15:30:07 +0100 Subject: [PATCH] Wizard: Use Qt5 style connects Change-Id: I2507c9edebf3bc46f703cd026cfb5eb824c36ebd Reviewed-by: Tobias Hunger --- src/libs/utils/wizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/utils/wizard.cpp b/src/libs/utils/wizard.cpp index 1f2b0cd1dbd..bd13b66d2b2 100644 --- a/src/libs/utils/wizard.cpp +++ b/src/libs/utils/wizard.cpp @@ -322,9 +322,9 @@ Wizard::Wizard(QWidget *parent, Qt::WindowFlags flags) : { d_ptr->q_ptr = this; d_ptr->m_wizardProgress = new WizardProgress(this); - connect(this, SIGNAL(currentIdChanged(int)), this, SLOT(_q_currentPageChanged(int))); - connect(this, SIGNAL(pageAdded(int)), this, SLOT(_q_pageAdded(int))); - connect(this, SIGNAL(pageRemoved(int)), this, SLOT(_q_pageRemoved(int))); + connect(this, &QWizard::currentIdChanged, this, &Wizard::_q_currentPageChanged); + connect(this, &QWizard::pageAdded, this, &Wizard::_q_pageAdded); + connect(this, &QWizard::pageRemoved, this, &Wizard::_q_pageRemoved); setSideWidget(new LinearProgressWidget(d_ptr->m_wizardProgress, this)); setOption(QWizard::NoCancelButton, false); setOption(QWizard::NoDefaultButton, false);