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

Method OnCaptureClosed

qrenderdoc/Windows/EventBrowser.cpp:4089–4113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4087}
4088
4089void EventBrowser::OnCaptureClosed()
4090{
4091 clearBookmarks();
4092
4093 on_HideFind();
4094
4095 m_Breadcrumbs->setVisible(true);
4096 m_BreadcrumbLocationEditButton->setVisible(true);
4097 m_BreadcrumbLocationText->setVisible(false);
4098 ui->breadcrumbStrip->hide();
4099
4100 m_FilterModel->ResetCache();
4101 // older Qt versions lose all the sections when a model resets even if the sections don't change.
4102 // Manually save/restore them
4103 QVariant p = persistData();
4104 m_Model->ResetModel();
4105 setPersistData(p);
4106
4107 ui->find->setEnabled(false);
4108 ui->timeActions->setEnabled(false);
4109 ui->bookmark->setEnabled(false);
4110 ui->exportActions->setEnabled(false);
4111 ui->stepPrev->setEnabled(false);
4112 ui->stepNext->setEnabled(false);
4113}
4114
4115void EventBrowser::OnEventChanged(uint32_t eventId)
4116{

Callers

nothing calls this directly

Calls 2

ResetCacheMethod · 0.80
ResetModelMethod · 0.80

Tested by

no test coverage detected