| 179 | } |
| 180 | |
| 181 | QVariant VcsFileChangesModel::data(const QModelIndex &index, int role) const |
| 182 | { |
| 183 | if (role >= VcsStatusInfoRole && role < LastItemRole && index.column() == 0) { |
| 184 | return QStandardItemModel::data(index.sibling(index.row(), 1), role); |
| 185 | } |
| 186 | return QStandardItemModel::data(index, role); |
| 187 | } |
| 188 | |
| 189 | QStandardItem* VcsFileChangesModel::fileItemForUrl(QStandardItem* parent, const QUrl& url) const |
| 190 | { |
no test coverage detected