tribool Manager::remoteAutoInstall(const Remote &remote) const { const auto it = m_mods.find(remote); if(it == m_mods.end()) return remote.autoInstall(); else return it->second.autoInstall.value_or(remote.autoInstall()); }