| 254 | } |
| 255 | |
| 256 | SetBootEntryFilePathCommand::SetBootEntryFilePathCommand(BootEntryListModel &model_, const QModelIndex &index_, int row_, const FilePath::ANY &value_, QUndoCommand *parent) |
| 257 | : QUndoCommand(QObject::tr("Set %1 entry \"%2\" file path at position %3").arg(model_.name, model_.entries.at(index_.row()).getTitle()).arg(row_), parent) |
| 258 | , model{model_} |
| 259 | , index{index_} |
| 260 | , value{value_} |
| 261 | , row{row_} |
| 262 | { |
| 263 | } |
| 264 | |
| 265 | int SetBootEntryFilePathCommand::id() const |
| 266 | { |