Debugger: Use a typed root item in ThreadModel

... and remove casts where possible.

Change-Id: I10305efbe336de7aa5efdb73a52c5f89cd2d089e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-06-27 13:46:46 +02:00
parent 06b2df0e27
commit c487217771
2 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ namespace Internal {
class GdbMi;
class ThreadItem;
class ThreadsHandler : public Utils::LeveledTreeModel<Utils::TreeItem, ThreadItem>
class ThreadsHandler : public Utils::LeveledTreeModel<Utils::TypedTreeItem<ThreadItem>, ThreadItem>
{
Q_OBJECT