[netinstall] Code-style
This commit is contained in:
parent
bc5aa1f837
commit
d909b8119e
@ -128,9 +128,9 @@ NetInstallViewStep::onLeave()
|
|||||||
// Clear out existing operations for this module, going backwards:
|
// Clear out existing operations for this module, going backwards:
|
||||||
// Sometimes we remove an item, and we don't want the index to
|
// Sometimes we remove an item, and we don't want the index to
|
||||||
// fall off the end of the list.
|
// 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() )
|
if ( op.contains( "source" ) && op.value( "source" ).toString() == moduleInstanceKey().toString() )
|
||||||
{
|
{
|
||||||
cDebug() << Logger::SubEntry << "Removing existing operations for" << moduleInstanceKey();
|
cDebug() << Logger::SubEntry << "Removing existing operations for" << moduleInstanceKey();
|
||||||
|
Loading…
Reference in New Issue
Block a user