ProjectExplorer: BuildStepsPage code cosmetics

Superfluous declarations, includes, namespaces.

Change-Id: Ie456b1488b6563e9eadaa679b55d21eaad52f642
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-09-25 10:20:54 +02:00
parent b1af27d14a
commit 4efad1716f
2 changed files with 12 additions and 15 deletions

View File

@@ -31,25 +31,24 @@
#include "projectexplorericons.h"
#include <coreplugin/icore.h>
#include <coreplugin/coreicons.h>
#include <utils/qtcassert.h>
#include <utils/detailswidget.h>
#include <utils/hostosinfo.h>
#include <utils/theme/theme.h>
#include <utils/qtcassert.h>
#include <QLabel>
#include <QPushButton>
#include <QMenu>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QToolButton>
#include <QLabel>
#include <QMenu>
#include <QMessageBox>
#include <QPushButton>
#include <QToolButton>
#include <QVBoxLayout>
using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal;
using namespace Utils;
namespace ProjectExplorer {
namespace Internal {
ToolWidget::ToolWidget(QWidget *parent) : FadingPanel(parent)
{
auto layout = new QHBoxLayout;
@@ -394,3 +393,6 @@ void BuildStepListWidget::updateBuildStepButtonsState()
s->toolWidget->setUpVisible(m_buildStepList->count() != 1);
}
}
} // Internal
} // ProjectExplorer

View File

@@ -34,16 +34,11 @@ class QPushButton;
class QToolButton;
class QLabel;
class QVBoxLayout;
class QGraphicsOpacityEffect;
QT_END_NAMESPACE
namespace Utils { class DetailsWidget; }
namespace ProjectExplorer {
class Target;
class BuildConfiguration;
namespace Internal {
class ToolWidget : public Utils::FadingPanel