| 136 | //////////////////StashModel |
| 137 | |
| 138 | StashModel::StashModel(const QDir& dir, GitPlugin* git, QObject* parent) |
| 139 | : QStandardItemModel(parent) |
| 140 | { |
| 141 | auto job = git->stashList(dir, OutputJob::Silent); |
| 142 | connect(job, &VcsJob::finished, this, &StashModel::stashListReady); |
| 143 | ICore::self()->runController()->registerJob(job); |
| 144 | } |
| 145 | |
| 146 | void StashModel::stashListReady(KJob* _job) |
| 147 | { |
nothing calls this directly
no test coverage detected