forked from qt-creator/qt-creator
RemoteLinux: Fix possible race condition.
When opening a new project, the deployables code can apparently be run before an active project is set. Task-number: https://projects.maemo.org/bugzilla/show_bug.cgi?id=251230 Change-Id: Ia8e3067823ee45553364b0e7a867563d008332cd Reviewed-on: http://codereview.qt.nokia.com/243 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -129,7 +129,7 @@ void MaemoDeployables::createModels(const Qt4ProFileNode *proFileNode)
|
||||
? it.value() : MaemoDeployableListModel::AskToUpdateProFile;
|
||||
}
|
||||
MaemoDeployableListModel *const newModel
|
||||
= new MaemoDeployableListModel(proFileNode, updateSetting, this);
|
||||
= new MaemoDeployableListModel(m_target, proFileNode, updateSetting, this);
|
||||
m_listModels << newModel;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user