MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ~EventBrowser

Method ~EventBrowser

qrenderdoc/Windows/EventBrowser.cpp:3994–4021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3992}
3993
3994EventBrowser::~EventBrowser()
3995{
3996 delete m_ParseError;
3997 delete m_ParseTrace;
3998
3999 // unregister any shortcuts we registered
4000 Qt::Key keys[] = {
4001 Qt::Key_1, Qt::Key_2, Qt::Key_3, Qt::Key_4, Qt::Key_5,
4002 Qt::Key_6, Qt::Key_7, Qt::Key_8, Qt::Key_9, Qt::Key_0,
4003 };
4004 for(int i = 0; i < 10; i++)
4005 {
4006 m_Ctx.GetMainWindow()->UnregisterShortcut(
4007 QKeySequence(keys[i] | Qt::ControlModifier).toString(), NULL);
4008 }
4009
4010 m_Ctx.GetMainWindow()->UnregisterShortcut(
4011 QKeySequence(Qt::Key_Left | Qt::ControlModifier).toString(), NULL);
4012
4013 m_Ctx.GetMainWindow()->UnregisterShortcut(
4014 QKeySequence(Qt::Key_Right | Qt::ControlModifier).toString(), NULL);
4015
4016 m_Ctx.GetMainWindow()->UnregisterShortcut(QString(), ui->findStrip);
4017
4018 m_Ctx.BuiltinWindowClosed(this);
4019 m_Ctx.RemoveCaptureViewer(this);
4020 delete ui;
4021}
4022
4023rdcstr EventBrowser::GetHighlightedAnnotation()
4024{

Callers

nothing calls this directly

Calls 7

UnregisterShortcutMethod · 0.80
QKeySequenceFunction · 0.50
QStringFunction · 0.50
GetMainWindowMethod · 0.45
toStringMethod · 0.45
BuiltinWindowClosedMethod · 0.45
RemoveCaptureViewerMethod · 0.45

Tested by

no test coverage detected