RemoteLinux/QNX: Fixed signal-slot connection

Change-Id: I6f060880db7b9360b3d9c548f42cee46468eb4ab
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Tobias Nätterlund
2012-08-27 15:07:34 +02:00
committed by Daniel Teske
parent 972399830a
commit d80b608d52
2 changed files with 6 additions and 6 deletions

View File

@@ -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()));
}