Code cosmetics

Mostly unused #include's, also sort them or reduce scope.

A few namespaces, ...

Change-Id: I9ee71e07de7157c9942125672addf87dd41e78f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2022-06-22 15:43:33 +02:00
parent 31db28601b
commit 2496ffe3ce
71 changed files with 167 additions and 138 deletions

View File

@@ -25,12 +25,15 @@
#include "qmlprofilerviewmanager.h"
#include "qmlprofilertool.h"
#include "qmlprofilerconstants.h"
#include "qmlprofilerstatewidget.h"
#include <utils/qtcassert.h>
#include <debugger/analyzer/analyzermanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
#include <QDockWidget>
using namespace Debugger;
@@ -51,7 +54,7 @@ QmlProfilerViewManager::QmlProfilerViewManager(QObject *parent,
QTC_ASSERT(m_profilerModelManager, return);
QTC_ASSERT(m_profilerState, return);
m_perspective = new Utils::Perspective(Constants::QmlProfilerPerspectiveId, tr("QML Profiler"));
m_perspective = new Perspective(Constants::QmlProfilerPerspectiveId, tr("QML Profiler"));
m_perspective->setAboutToActivateCallback([this]() { createViews(); });
}