diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-02 12:18:57 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-03 15:00:50 +0000 |
commit | e5a38bacc4bcfd770f56122b86233ff35b0579ac (patch) | |
tree | db03f5112d616cbab6f5b9401cf296fa759fa54b /src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp | |
parent | 08655de4a5891ab3a8fe07970c826958be7c52fc (diff) | |
download | qt-creator-e5a38bacc4bcfd770f56122b86233ff35b0579ac.tar.gz |
Move QmlProfiler specific files from qmldebug to qmlprofiler
These file were not used anywhere else and had no business to be in
qmldebug to begin with. Moving them allows us to drop a number of
namespace qualifications and forces us to rename a few local symbols
in other classes in order to avoid name clashes.
Change-Id: I658ed455eec027cbaddacf2980d2ea6827ae6205
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp index 89455fc2d6..43c8d026bd 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsview.cpp @@ -48,8 +48,6 @@ #include <utils/qtcassert.h> #include <functional> -using namespace QmlDebug; - namespace QmlProfiler { namespace Internal { @@ -335,7 +333,7 @@ void QmlProfilerStatisticsView::onVisibleFeaturesChanged(quint64 features) for (int i = 0; i < MaximumRangeType; ++i) { RangeType range = static_cast<RangeType>(i); quint64 featureFlag = 1ULL << featureFromRangeType(range); - if (QmlDebug::Constants::QML_JS_RANGE_FEATURES & featureFlag) + if (Constants::QML_JS_RANGE_FEATURES & featureFlag) d->model->setEventTypeAccepted(range, features & featureFlag); } d->model->limitToRange(d->rangeStart, d->rangeEnd); |