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

Method fileSaved

qrenderdoc/Windows/Dialogs/LiveCapture.cpp:995–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995void LiveCapture::fileSaved(QString from, QString to)
996{
997 for(int i = 0; i < ui->captures->count(); i++)
998 {
999 Capture *cap = GetCapture(ui->captures->item(i));
1000
1001 if(cap->path == from)
1002 {
1003 cap->path = to;
1004 cap->saved = true;
1005 cap->local = true;
1006 }
1007 }
1008}
1009
1010int LiveCapture::unsavedCaptureCount()
1011{

Callers 1

SaveCurrentCaptureMethod · 0.80

Calls 3

GetCaptureFunction · 0.85
itemMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected