mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue