summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-09-28 15:47:34 +0200
committerhjk <qthjk@ovi.com>2011-09-28 18:08:16 +0200
commit58f59e133f17d522d7dad713e42ae9f9db3aaad8 (patch)
tree191208aa83ad23633f76df6a005121a0bf4bddf1 /src
parent5cfc7bd58278f92acb41b8a3ef3353a5ff61ec52 (diff)
downloadqt-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')
-rw-r--r--src/plugins/projectexplorer/buildsettingspropertiespage.cpp10
-rw-r--r--src/plugins/projectexplorer/buildsettingspropertiespage.h2
-rw-r--r--src/plugins/projectexplorer/runsettingspropertiespage.h2
3 files changed, 6 insertions, 8 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;
}
diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.h b/src/plugins/projectexplorer/buildsettingspropertiespage.h
index c8ef586d0d..fa4d58cf31 100644
--- a/src/plugins/projectexplorer/buildsettingspropertiespage.h
+++ b/src/plugins/projectexplorer/buildsettingspropertiespage.h
@@ -53,7 +53,7 @@ class IBuildStepFactory;
namespace Internal {
-const char * const BUILDSETTINGS_PANEL_ID("ProjectExplorer.BuildSettingsPanel");
+const char BUILDSETTINGS_PANEL_ID[] = "ProjectExplorer.BuildSettingsPanel";
class BuildSettingsPanelFactory : public ITargetPanelFactory
{
diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h
index 0f6e6fda3e..304317a8d6 100644
--- a/src/plugins/projectexplorer/runsettingspropertiespage.h
+++ b/src/plugins/projectexplorer/runsettingspropertiespage.h
@@ -55,7 +55,7 @@ class RunConfigWidget;
namespace Internal {
-const char * const RUNSETTINGS_PANEL_ID = "ProjectExplorer.RunSettingsPanel";
+const char RUNSETTINGS_PANEL_ID[] = "ProjectExplorer.RunSettingsPanel";
namespace Ui {
class RunSettingsPropertiesPage;