[tracking] Fix deduced type
'auto' doesn't pick up the reference-type returned from tracking(), and 'auto&' reads funny to me, so make the type explicit.
This commit is contained in:
parent
7311204572
commit
fbfb103b5f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user