debugger: make alphabetic sorting of struct members optional.

Task-number: QTCREATORBUG-1608
This commit is contained in:
hjk
2010-09-23 11:15:56 +02:00
parent 6295208a5c
commit 034bb72dc4
12 changed files with 48 additions and 18 deletions

View File

@@ -191,9 +191,11 @@ GdbEngine::GdbEngine(const DebuggerStartParameters &startParameters)
m_gdbAdapter = createAdapter();
connect(theDebuggerAction(AutoDerefPointers), SIGNAL(valueChanged(QVariant)),
this, SLOT(setAutoDerefPointers(QVariant)));
SLOT(reloadLocals()));
connect(theDebuggerAction(SortStructMembers), SIGNAL(valueChanged(QVariant)),
SLOT(reloadLocals()));
connect(theDebuggerAction(CreateFullBacktrace), SIGNAL(triggered()),
this, SLOT(createFullBacktrace()));
SLOT(createFullBacktrace()));
}
DebuggerStartMode GdbEngine::startMode() const
@@ -3342,9 +3344,8 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
//
//////////////////////////////////////////////////////////////////////
void GdbEngine::setAutoDerefPointers(const QVariant &on)
void GdbEngine::reloadLocals()
{
Q_UNUSED(on)
setTokenBarrier();
updateLocals();
}