MCPcopy Create free account
hub / github.com/KDAB/GammaRay / setQObject

Method setQObject

core/tools/objectinspector/stacktraceextension.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31StackTraceExtension::~StackTraceExtension() = default;
32
33bool StackTraceExtension::setQObject(QObject *object)
34{
35 const auto trace = Probe::instance()->objectCreationStackTrace(object);
36 m_model->setStackTrace(trace);
37 return !trace.empty();
38}

Callers

nothing calls this directly

Calls 3

setStackTraceMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected