forked from qt-creator/qt-creator
Maemo: Fix possible crash due to removed project file node.
We must not save a Qt4ProFileNode in our MaemoDeployableListModel, since it might no longer exist when we use it again. Reviewed-by: kh1
This commit is contained in:
@@ -112,7 +112,7 @@ void MaemoDeployables::createModels()
|
||||
= setting.second
|
||||
? MaemoDeployableListModel::UpdateProFile
|
||||
: MaemoDeployableListModel::DontUpdateProFile;
|
||||
m_updateSettings.insert(setting.first->proFileNode()->path(),
|
||||
m_updateSettings.insert(setting.first->proFilePath(),
|
||||
updateSetting);
|
||||
setting.first->setProFileUpdateSetting(updateSetting);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user