|
|
|
@ -128,9 +128,9 @@ NetInstallViewStep::onLeave()
|
|
|
|
|
// Clear out existing operations for this module, going backwards:
|
|
|
|
|
// Sometimes we remove an item, and we don't want the index to
|
|
|
|
|
// fall off the end of the list.
|
|
|
|
|
for ( int index = packageOperations.length() - 1; 0 <= index ; index-- )
|
|
|
|
|
for ( int index = packageOperations.length() - 1; 0 <= index; index-- )
|
|
|
|
|
{
|
|
|
|
|
const QVariantMap op = packageOperations.at(index).toMap();
|
|
|
|
|
const QVariantMap op = packageOperations.at( index ).toMap();
|
|
|
|
|
if ( op.contains( "source" ) && op.value( "source" ).toString() == moduleInstanceKey().toString() )
|
|
|
|
|
{
|
|
|
|
|
cDebug() << Logger::SubEntry << "Removing existing operations for" << moduleInstanceKey();
|
|
|
|
|