ListView::Row Manager::makeRow(const Remote &remote) const { const auto_string &name = make_autostring(remote.name()); const auto_string &url = make_autostring(remote.url()); return {name, url, isRemoteEnabled(remote) ? AUTO_STR("Enabled") : AUTO_STR("Disabled")}; }