diff options
author | hjk <qtc-committer@nokia.com> | 2011-09-28 15:47:34 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-09-28 18:08:16 +0200 |
commit | 58f59e133f17d522d7dad713e42ae9f9db3aaad8 (patch) | |
tree | 191208aa83ad23633f76df6a005121a0bf4bddf1 /src/plugins/projectexplorer/buildsettingspropertiespage.cpp | |
parent | 5cfc7bd58278f92acb41b8a3ef3353a5ff61ec52 (diff) | |
download | qt-creator-58f59e133f17d522d7dad713e42ae9f9db3aaad8.tar.gz |
settingspropertypages: style
Change-Id: I2430de067715374ae7e31fefacf3e7970db89754
Reviewed-on: http://codereview.qt-project.org/5735
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildsettingspropertiespage.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildsettingspropertiespage.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index 7dc7d3e70b..74db6361c5 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp @@ -114,13 +114,11 @@ void BuildSettingsWidget::setupUi() vbox->setContentsMargins(0, 0, 0, 0); if (!m_target->buildConfigurationFactory()) { - QLabel * noSettingsLabel(new QLabel(this)); + QLabel *noSettingsLabel = new QLabel(this); noSettingsLabel->setText(tr("No build settings available")); - { - QFont f(noSettingsLabel->font()); - f.setPointSizeF(f.pointSizeF() * 1.2); - noSettingsLabel->setFont(f); - } + QFont f = noSettingsLabel->font(); + f.setPointSizeF(f.pointSizeF() * 1.2); + noSettingsLabel->setFont(f); vbox->addWidget(noSettingsLabel); return; } |