Commit 54430ae1 authored by hjk's avatar hjk
Browse files

Debugger: Modernize MemoryView connections.



Change-Id: I61b2f7a11bb516b4d14226cfdbbc581243659e4f
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent a3711ee2
......@@ -88,10 +88,10 @@ MemoryAgent::MemoryAgent(DebuggerEngine *engine)
: QObject(engine), m_engine(engine)
{
QTC_CHECK(engine);
connect(engine, SIGNAL(stateChanged(Debugger::DebuggerState)),
this, SLOT(engineStateChanged(Debugger::DebuggerState)));
connect(engine, SIGNAL(stackFrameCompleted()), this,
SLOT(updateContents()));
connect(engine, &DebuggerEngine::stateChanged,
this, &MemoryAgent::engineStateChanged);
connect(engine, &DebuggerEngine::stackFrameCompleted,
this, &MemoryAgent::updateContents);
}
MemoryAgent::~MemoryAgent()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment