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>
This commit is contained in:
hjk
2011-09-28 15:47:34 +02:00
committed by hjk
parent 5cfc7bd582
commit 58f59e133f
3 changed files with 6 additions and 8 deletions

View File

@@ -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;
}