From cd37c4a48c9a0cb97d92ffbb9c2fdfe085d04faf Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 8 Jul 2017 21:16:47 +0300 Subject: [PATCH] Fix broken build. --HG-- branch : develop --- src/app/valentina/dialogs/dialogsavelayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/dialogs/dialogsavelayout.cpp b/src/app/valentina/dialogs/dialogsavelayout.cpp index ac69df1b5..3b736dec1 100644 --- a/src/app/valentina/dialogs/dialogsavelayout.cpp +++ b/src/app/valentina/dialogs/dialogsavelayout.cpp @@ -88,7 +88,7 @@ DialogSaveLayout::DialogSaveLayout(int count, const QString &fileName, QWidget * ui->comboBoxFormat->addItem(v.first, QVariant(static_cast(v.second))); } #ifdef V_NO_ASSERT // Temporarily unavailable - const int index = ui->comboBoxFormat->findData(LayoutExportFormats::OBJ); + const int index = ui->comboBoxFormat->findData(static_cast(LayoutExportFormats::OBJ)); if (index != -1) { ui->comboBoxFormat->removeItem(index);