MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / ChangeOptionalDataFormatCommand

Method ChangeOptionalDataFormatCommand

src/commands.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123ChangeOptionalDataFormatCommand::ChangeOptionalDataFormatCommand(BootEntryListModel &model_, const QModelIndex &index_, const BootEntry::OptionalDataFormat &value_, QUndoCommand *parent)
124 : QUndoCommand{"", parent}
125 , model{model_}
126 , title{model_.entries.at(index_.row()).getTitle()}
127 , index{index_}
128 , value{value_}
129{
130 updateTitle(value);
131}
132
133int ChangeOptionalDataFormatCommand::id() const
134{

Callers

nothing calls this directly

Calls 1

getTitleMethod · 0.80

Tested by

no test coverage detected