| 171 | } |
| 172 | |
| 173 | void redo() override |
| 174 | { |
| 175 | auto &entry = model.entries[index.row()]; |
| 176 | auto old_value = entry.*property; |
| 177 | entry.*property = value; |
| 178 | value = old_value; |
| 179 | emit model.dataChanged(index, index, {Qt::EditRole}); |
| 180 | } |
| 181 | |
| 182 | bool mergeWith(const QUndoCommand *command) override |
| 183 | { |
nothing calls this directly
no outgoing calls
no test coverage detected