diff options
author | hjk <hjk@qt.io> | 2018-08-15 17:28:00 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-08-21 07:25:57 +0000 |
commit | 9f9c72302f60a872d15c5dd1ffa900961dad9014 (patch) | |
tree | cd7f1819198eefcd03637e14688dea1deba32e11 /src/plugins/debugger/qml/qmlengine.cpp | |
parent | 7dcfe86c34c18985b13717234369e2fe181dc089 (diff) |
Debugger: Streamline ThreadHandler
- Use the TreeItem/data pattern recently introduced with Breakpoints
to remove the need of keeping track of id/object mapping. Opens
possibility to have thread groups as intermediate level.
- Use the ThreadHandler directly as model for the thread combobox
to remove the need of manual combo box updates.
- Move setting current thread from individual engines to central code.
Change-Id: I030e21a4aa5ab30b0efbc84528d9cecf29cbbe30
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 8f8816ff44..91bd3e2e55 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -684,9 +684,9 @@ void QmlEngine::activateFrame(int index) d->updateLocals(); } -void QmlEngine::selectThread(ThreadId threadId) +void QmlEngine::selectThread(const Thread &thread) { - Q_UNUSED(threadId) + Q_UNUSED(thread) } void QmlEngine::insertBreakpoint(const Breakpoint &bp) |