From d909b8119e1fdafa7dcdb6013fd9f39775abc923 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 18 Feb 2020 17:37:58 +0100 Subject: [PATCH] [netinstall] Code-style --- src/modules/netinstall/NetInstallViewStep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/netinstall/NetInstallViewStep.cpp b/src/modules/netinstall/NetInstallViewStep.cpp index b0fe53083..5f64b95d3 100644 --- a/src/modules/netinstall/NetInstallViewStep.cpp +++ b/src/modules/netinstall/NetInstallViewStep.cpp @@ -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();