summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchdata.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-06-09 15:26:33 +0200
committerhjk <hjk@theqtcompany.com>2016-06-10 06:56:55 +0000
commite2ba0aca9b39bd20db8a195ea495e8e53c2bb41e (patch)
tree89f349812c384b699f92919462423d011ddd25a4 /src/plugins/debugger/watchdata.h
parenta823caa396c44f426a0eb284120de9675e3285d6 (diff)
downloadqt-creator-e2ba0aca9b39bd20db8a195ea495e8e53c2bb41e.tar.gz
Utils: Introduce a class template TypedTreeItem
For better typesafety on the user side (and optional) for items with uniformly typed children. Use it for UniformTreeModels, and consequently WatchModel to get rid of some of the static_casts there. Change-Id: Ic20e507036e180c24997b236230f0f71b285202c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger/watchdata.h')
-rw-r--r--src/plugins/debugger/watchdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchdata.h b/src/plugins/debugger/watchdata.h
index 654e92db54..e712b6d961 100644
--- a/src/plugins/debugger/watchdata.h
+++ b/src/plugins/debugger/watchdata.h
@@ -39,7 +39,7 @@ namespace Internal {
class GdbMi;
-class WatchItem : public Utils::TreeItem
+class WatchItem : public Utils::TypedTreeItem<WatchItem>
{
public:
WatchItem();