summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildenvironmentwidget.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-04-13 15:52:14 +0200
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-04-15 09:40:53 +0000
commit95ac4edfd4276c73f0304651fe032d511a5a7c16 (patch)
treec1ebcef6ecff1292f9fa670111c39043b0f67837 /src/plugins/projectexplorer/buildenvironmentwidget.cpp
parent79da8a45860940f98333517c60ac388cc0b1af3a (diff)
downloadqt-creator-95ac4edfd4276c73f0304651fe032d511a5a7c16.tar.gz
Projectexplorer: Modernize codebase
Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildenvironmentwidget.cpp')
-rw-r--r--src/plugins/projectexplorer/buildenvironmentwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/buildenvironmentwidget.cpp b/src/plugins/projectexplorer/buildenvironmentwidget.cpp
index aea3e9b9f2..f7f253d94b 100644
--- a/src/plugins/projectexplorer/buildenvironmentwidget.cpp
+++ b/src/plugins/projectexplorer/buildenvironmentwidget.cpp
@@ -35,10 +35,10 @@
using namespace ProjectExplorer;
-BuildEnvironmentWidget::BuildEnvironmentWidget(BuildConfiguration *bc)
- : m_buildConfiguration(0)
+BuildEnvironmentWidget::BuildEnvironmentWidget(BuildConfiguration *bc) :
+ m_buildConfiguration(nullptr)
{
- QVBoxLayout *vbox = new QVBoxLayout(this);
+ auto vbox = new QVBoxLayout(this);
vbox->setMargin(0);
m_clearSystemEnvironmentCheckBox = new QCheckBox(this);
m_clearSystemEnvironmentCheckBox->setText(tr("Clear system environment"));