Commit 39815bdd authored by ck's avatar ck

Maemo: Remove QFlags workaround.

Thanks to commit dedea5ea,
QFlags' operator| works out of the box again.
parent dedea5ea
......@@ -62,10 +62,7 @@ MaemoRunConfigurationWidget::MaemoRunConfigurationWidget(
QFormLayout *mainLayout = new QFormLayout;
setLayout(mainLayout);
// TODO: Does not compile with the canonical form for some reason.
mainLayout->setFormAlignment(QFlags<Qt::AlignmentFlag>(Qt::AlignLeft)
| Qt::AlignVCenter);
mainLayout->setFormAlignment(Qt::AlignLeft | Qt::AlignVCenter);
m_configNameLineEdit = new QLineEdit(m_runConfiguration->name());
mainLayout->addRow(tr("Run configuration name:"), m_configNameLineEdit);
QWidget *devConfWidget = new QWidget;
......
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