| 130 | } |
| 131 | |
| 132 | VersionPtr VersionList::getVersion(const QString &version) |
| 133 | { |
| 134 | VersionPtr out = m_lookup.value(version, nullptr); |
| 135 | if(!out) |
| 136 | { |
| 137 | out = std::make_shared<Version>(m_uid, version); |
| 138 | m_lookup[version] = out; |
| 139 | } |
| 140 | return out; |
| 141 | } |
| 142 | |
| 143 | void VersionList::setName(const QString &name) |
| 144 | { |
no outgoing calls
no test coverage detected