forked from qt-creator/qt-creator
Maemo: Don't unify packaging metadata between targets as rigorously.
This allows people to do external changes to their files without Creator overwriting them. Change-Id: I71fc7cf6dabb9a61762992b8c01f971f563e17ab Reviewed-on: http://codereview.qt.nokia.com/12 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
ed0f9f678e
commit
782953513e
@@ -268,9 +268,11 @@ void AbstractQt4MaemoTarget::handleTargetAdded(ProjectExplorer::Target *target)
|
||||
this, SLOT(handleTargetAdded(ProjectExplorer::Target*)));
|
||||
connect(project(), SIGNAL(aboutToRemoveTarget(ProjectExplorer::Target*)),
|
||||
SLOT(handleTargetToBeRemoved(ProjectExplorer::Target*)));
|
||||
if (createTemplates() == ActionFailed)
|
||||
const ActionStatus status = createTemplates();
|
||||
if (status == ActionFailed)
|
||||
return;
|
||||
initPackagingSettingsFromOtherTarget();
|
||||
if (status == ActionSuccessful) // Don't do this when the packaging data already exists.
|
||||
initPackagingSettingsFromOtherTarget();
|
||||
handleTargetAddedSpecial();
|
||||
m_isInitialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user