Commit 58f59e13 authored by hjk's avatar hjk Committed by hjk

settingspropertypages: style

Change-Id: I2430de067715374ae7e31fefacf3e7970db89754
Reviewed-on: http://codereview.qt-project.org/5735Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 5cfc7bd5
......@@ -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;
}
......
......@@ -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
{
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment