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

Method captureCopied

qrenderdoc/Windows/Dialogs/LiveCapture.cpp:1119–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1117}
1118
1119void LiveCapture::captureCopied(uint32_t ID, const QString &localPath)
1120{
1121 for(int i = 0; i < ui->captures->count(); i++)
1122 {
1123 QListWidgetItem *item = ui->captures->item(i);
1124 Capture *cap = GetCapture(ui->captures->item(i));
1125
1126 if(cap && cap->remoteID == ID)
1127 {
1128 cap->local = true;
1129 cap->path = localPath;
1130 QFont f = item->font();
1131 f.setItalic(false);
1132 item->setFont(f);
1133 item->setText(MakeText(cap));
1134 }
1135 }
1136}
1137
1138void LiveCapture::captureAdded(const QString &name, const NewCaptureData &newCapture)
1139{

Callers

nothing calls this directly

Calls 6

GetCaptureFunction · 0.85
itemMethod · 0.80
countMethod · 0.45
setItalicMethod · 0.45
setFontMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected