diff options
author | Ulf Hermann <[email protected]> | 2024-09-26 16:56:44 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2024-09-27 17:52:13 +0000 |
commit | fde92a97c16b0f77a40e732e0c1482b257dbe568 (patch) | |
tree | 3d1e130c7a0e9ac067042d34eea4e0e73b4a1668 /src/libs/tracing | |
parent | d9f0eb37ac9218255c77d3c4ab365b9cd87209e1 (diff) |
Tracing: Make TimelineModel explicitly uncreatable
Otherwise the QML engine complains about it being uncreatable.
Change-Id: I955d123f8fc08a0a7350d3c86f3c524f784325ed
Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/libs/tracing')
-rw-r--r-- | src/libs/tracing/timelinemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/tracing/timelinemodel.h b/src/libs/tracing/timelinemodel.h index 5720909d563..9725ae085f0 100644 --- a/src/libs/tracing/timelinemodel.h +++ b/src/libs/tracing/timelinemodel.h @@ -33,6 +33,7 @@ class TRACING_EXPORT TimelineModel : public QObject Q_PROPERTY(int count READ count NOTIFY contentChanged FINAL) Q_PROPERTY(int defaultRowHeight READ defaultRowHeight CONSTANT FINAL) QML_ELEMENT + QML_UNCREATABLE("") public: class TimelineModelPrivate; |