Debugger: Use TreeModel for threads

In preparation of the introduction of thread groups.

Change-Id: Iadac9203eb4d60d0bc930113c2776e65352ed304
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-06-12 11:55:57 +02:00
parent 437c4735d1
commit 5c054dd24a
5 changed files with 246 additions and 317 deletions

View File

@@ -609,7 +609,7 @@ public:
void disconnectEngine() { connectEngine(0); }
DebuggerEngine *dummyEngine();
void setThreads(const QStringList &list, int index)
void setThreadBoxContents(const QStringList &list, int index)
{
const bool state = m_threadBox->blockSignals(true);
m_threadBox->clear();
@@ -3214,9 +3214,9 @@ void openMemoryEditor()
}
}
void setThreads(const QStringList &list, int index)
void setThreadBoxContents(const QStringList &list, int index)
{
dd->setThreads(list, index);
dd->setThreadBoxContents(list, index);
}
QSharedPointer<Internal::GlobalDebuggerOptions> globalDebuggerOptions()