MCPcopy Create free account
hub / github.com/baldurk/renderdoc / modifications

Method modifications

qrenderdoc/Windows/Dialogs/EnvironmentEditor.cpp:236–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236QList<EnvironmentModification> EnvironmentEditor::modifications()
237{
238 QList<EnvironmentModification> ret;
239
240 for(int i = 0; i < ui->variables->topLevelItemCount(); i++)
241 {
242 EnvironmentModification mod =
243 ui->variables->topLevelItem(i)->tag().value<EnvironmentModification>();
244
245 if(!mod.name.empty())
246 ret.push_back(mod);
247 }
248
249 return ret;
250}
251
252void EnvironmentEditor::on_buttonBox_accepted()
253{

Callers 2

on_envVarEdit_clickedMethod · 0.80

Calls 5

topLevelItemCountMethod · 0.80
topLevelItemMethod · 0.80
tagMethod · 0.45
emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected