forked from qt-creator/qt-creator
Debugger: Modernize MemoryView connections.
Change-Id: I61b2f7a11bb516b4d14226cfdbbc581243659e4f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -88,10 +88,10 @@ MemoryAgent::MemoryAgent(DebuggerEngine *engine)
|
|||||||
: QObject(engine), m_engine(engine)
|
: QObject(engine), m_engine(engine)
|
||||||
{
|
{
|
||||||
QTC_CHECK(engine);
|
QTC_CHECK(engine);
|
||||||
connect(engine, SIGNAL(stateChanged(Debugger::DebuggerState)),
|
connect(engine, &DebuggerEngine::stateChanged,
|
||||||
this, SLOT(engineStateChanged(Debugger::DebuggerState)));
|
this, &MemoryAgent::engineStateChanged);
|
||||||
connect(engine, SIGNAL(stackFrameCompleted()), this,
|
connect(engine, &DebuggerEngine::stackFrameCompleted,
|
||||||
SLOT(updateContents()));
|
this, &MemoryAgent::updateContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
MemoryAgent::~MemoryAgent()
|
MemoryAgent::~MemoryAgent()
|
||||||
|
|||||||
Reference in New Issue
Block a user