forked from qt-creator/qt-creator
ProjectExlorer: Streamline creation of NamedWidgets
Change-Id: I67c1506ea4e2d7722c9ce38738e350418d725a0e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -81,6 +81,7 @@ static QModelIndex mapToSource(const QAbstractItemView *view, const QModelIndex
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc) :
|
||||
NamedWidget(tr("CMake")),
|
||||
m_buildConfiguration(bc),
|
||||
m_configModel(new ConfigModel(this)),
|
||||
m_configFilterModel(new Utils::CategorySortFilterModel),
|
||||
@@ -88,8 +89,6 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
{
|
||||
QTC_CHECK(bc);
|
||||
|
||||
setDisplayName(tr("CMake"));
|
||||
|
||||
auto vbox = new QVBoxLayout(this);
|
||||
vbox->setContentsMargins(0, 0, 0, 0);
|
||||
auto container = new Utils::DetailsWidget;
|
||||
|
||||
Reference in New Issue
Block a user