Debugger: Modernize MemoryView connections.

Change-Id: I61b2f7a11bb516b4d14226cfdbbc581243659e4f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-05-21 15:04:23 +02:00
parent a3711ee207
commit 54430ae13a

View File

@@ -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()