diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-04-27 11:36:46 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-04-27 10:55:28 +0000 |
commit | c8ed9f4b75d111d9bde6b4fb88f00b35f1adad00 (patch) | |
tree | 06fb0d904cd35fd56d5be890d59eb253e92cbf5d /src/libs/qmldebug/qmlprofilertraceclient.cpp | |
parent | 4d95fcae0c208ab72da1e375ff37e969ffb8c9f1 (diff) | |
download | qt-creator-c8ed9f4b75d111d9bde6b4fb88f00b35f1adad00.tar.gz |
QmlProfiler: Always enable the "debug messages" feature
We always have at least one debug message: The one the debug server
itself generates. So, let's unconditionally mark the feature as
recorded when loading data. As the debug messages arrive in a different
debug client, the trace client doesn't know about them otherwise,
and if the feature is not marked as recorded you cannot hide the
respective category with the filter menu.
Change-Id: I68925697486a9461d66560b10947fde70b8a6730
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/libs/qmldebug/qmlprofilertraceclient.cpp')
-rw-r--r-- | src/libs/qmldebug/qmlprofilertraceclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmldebug/qmlprofilertraceclient.cpp b/src/libs/qmldebug/qmlprofilertraceclient.cpp index 09c22dc4fc..17cbb38f51 100644 --- a/src/libs/qmldebug/qmlprofilertraceclient.cpp +++ b/src/libs/qmldebug/qmlprofilertraceclient.cpp @@ -174,7 +174,7 @@ bool QmlProfilerTraceClientPrivate::updateFeatures(ProfileFeature feature) if (!(requestedFeatures & flag)) return false; if (!(recordedFeatures & flag)) { - recordedFeatures |= flag; + recordedFeatures |= (flag | 1ULL << ProfileDebugMessages); emit q->recordedFeaturesChanged(recordedFeatures); } return true; |