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

@@ -93,17 +93,6 @@ struct ThreadData
IdRole = Qt::UserRole
};
void notifyRunning() // Clear state information.
{
address = 0;
function.clear();
fileName.clear();
frameLevel = -1;
state.clear();
lineNumber = -1;
stopped = false;
}
// Permanent data.
ThreadId id;
QByteArray groupId;