From d80b608d5226f89730e9fdcea36dc1becff4b670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20N=C3=A4tterlund?= Date: Mon, 27 Aug 2012 15:07:34 +0200 Subject: [PATCH] RemoteLinux/QNX: Fixed signal-slot connection Change-Id: I6f060880db7b9360b3d9c548f42cee46468eb4ab Reviewed-by: Daniel Teske --- src/plugins/qnx/blackberrydeployinformation.cpp | 6 +++--- src/plugins/remotelinux/deploymentinfo.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/qnx/blackberrydeployinformation.cpp b/src/plugins/qnx/blackberrydeployinformation.cpp index 284afad35ee..5e65e4a6dfc 100644 --- a/src/plugins/qnx/blackberrydeployinformation.cpp +++ b/src/plugins/qnx/blackberrydeployinformation.cpp @@ -48,7 +48,7 @@ BlackBerryDeployInformation::BlackBerryDeployInformation(Qt4ProjectManager::Qt4P : QAbstractTableModel(project) , m_project(project) { - connect(m_project, SIGNAL(buildSystemEvaluated()), this, SLOT(initModel())); + connect(m_project, SIGNAL(proFilesEvaluated()), this, SLOT(initModel())); } int BlackBerryDeployInformation::rowCount(const QModelIndex &parent) const @@ -175,7 +175,7 @@ void BlackBerryDeployInformation::initModel() if (!rootNode || rootNode->parseInProgress()) // Can be null right after project creation by wizard. return; - disconnect(m_project, SIGNAL(buildSystemEvaluated()), this, SLOT(initModel())); + disconnect(m_project, SIGNAL(proFilesEvaluated()), this, SLOT(initModel())); beginResetModel(); m_deployInformation.clear(); @@ -193,5 +193,5 @@ void BlackBerryDeployInformation::initModel() } endResetModel(); - connect(m_project, SIGNAL(buildSystemEvaluated()), SLOT(initModel())); + connect(m_project, SIGNAL(proFilesEvaluated()), SLOT(initModel())); } diff --git a/src/plugins/remotelinux/deploymentinfo.cpp b/src/plugins/remotelinux/deploymentinfo.cpp index 7c69ef89fa3..5ddf83336a1 100644 --- a/src/plugins/remotelinux/deploymentinfo.cpp +++ b/src/plugins/remotelinux/deploymentinfo.cpp @@ -61,7 +61,7 @@ using namespace Internal; DeploymentInfo::DeploymentInfo(Qt4ProjectManager::Qt4Project *project, const QString &installPrefix) : QAbstractListModel(project), d(new DeploymentInfoPrivate(project)) { - connect(project, SIGNAL(buildSystemEvaluated()), SLOT(createModels())); + connect(project, SIGNAL(proFilesEvaluated()), SLOT(createModels())); setInstallPrefix(installPrefix); } @@ -89,13 +89,13 @@ void DeploymentInfo::createModels() const Qt4ProFileNode *const rootNode = d->project->rootQt4ProjectNode(); if (!rootNode || rootNode->parseInProgress()) // Can be null right after project creation by wizard. return; - disconnect(d->project, SIGNAL(buildSystemEvaluated()), this, SLOT(createModels())); + disconnect(d->project, SIGNAL(proFilesEvaluated()), this, SLOT(createModels())); beginResetModel(); qDeleteAll(d->listModels); d->listModels.clear(); createModels(rootNode); endResetModel(); - connect (d->project, SIGNAL(buildSystemEvaluated()), SLOT(createModels())); + connect (d->project, SIGNAL(proFilesEvaluated()), SLOT(createModels())); } void DeploymentInfo::createModels(const Qt4ProFileNode *proFileNode)