Debugger: Don't do unnecessary work

... after the "Sort Members of Classes Alphabetically" option is
toggled. The option only influences the contents of the "Locals
and Expressions" view, so it is sufficient to update only that.

Change-Id: I9eade679eddbfb108c7ed478cce6c13fadcca317
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
hjk
2015-07-16 13:29:05 +02:00
parent 2d30693450
commit c1e418c290

View File

@@ -331,7 +331,7 @@ WatchModel::WatchModel(WatchHandler *handler, DebuggerEngine *engine)
this, &WatchModel::updateStarted);
connect(action(SortStructMembers), &SavedAction::valueChanged,
m_engine, &DebuggerEngine::updateAll);
m_engine, &DebuggerEngine::updateLocals);
connect(action(ShowStdNamespace), &SavedAction::valueChanged,
m_engine, &DebuggerEngine::updateAll);
connect(action(ShowQtNamespace), &SavedAction::valueChanged,