Fix broken build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-07-08 21:16:47 +03:00
parent c074318d65
commit cd37c4a48c

View File

@ -88,7 +88,7 @@ DialogSaveLayout::DialogSaveLayout(int count, const QString &fileName, QWidget *
ui->comboBoxFormat->addItem(v.first, QVariant(static_cast<int>(v.second))); ui->comboBoxFormat->addItem(v.first, QVariant(static_cast<int>(v.second)));
} }
#ifdef V_NO_ASSERT // Temporarily unavailable #ifdef V_NO_ASSERT // Temporarily unavailable
const int index = ui->comboBoxFormat->findData(LayoutExportFormats::OBJ); const int index = ui->comboBoxFormat->findData(static_cast<int>(LayoutExportFormats::OBJ));
if (index != -1) if (index != -1)
{ {
ui->comboBoxFormat->removeItem(index); ui->comboBoxFormat->removeItem(index);