forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user