| 174 | } |
| 175 | |
| 176 | VcsAnnotationLine VcsAnnotationModel::annotationLine(int line) const |
| 177 | { |
| 178 | Q_D(const VcsAnnotationModel); |
| 179 | |
| 180 | if (line < 0 || !d->m_annotation.containsLine(line)) { |
| 181 | return VcsAnnotationLine(); |
| 182 | } |
| 183 | |
| 184 | return d->m_annotation.line(line); |
| 185 | } |
| 186 | |
| 187 | } |
| 188 |
no test coverage detected