diff --git a/src/modules/tracking/TrackingViewStep.cpp b/src/modules/tracking/TrackingViewStep.cpp index 16a0c0fb3..73662cc3e 100644 --- a/src/modules/tracking/TrackingViewStep.cpp +++ b/src/modules/tracking/TrackingViewStep.cpp @@ -151,7 +151,7 @@ QVariantMap TrackingViewStep::setTrackingOption(const QVariantMap& configuration } cDebug() << " .. settable=" << settingEnabled << "default=" << userEnabled; - auto trackingConfiguration = tracking( t ); + TrackingEnabled& trackingConfiguration = tracking( t ); trackingConfiguration.settingEnabled = settingEnabled; trackingConfiguration.userEnabled = userEnabled;