Skip to content

Commit

Permalink
fix QVariant type
Browse files Browse the repository at this point in the history
  • Loading branch information
vwaurich authored and adrpo committed Jan 11, 2017
1 parent 3a5527e commit 12d09da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Animation/FMUSettingsDialog.cpp
Expand Up @@ -57,7 +57,7 @@ FMUSettingsDialog::FMUSettingsDialog(QWidget *pParent, VisualizerFMU* pVisualize
//the widgets
QLabel *solverLabel = new QLabel(tr("Solver"));
mpSolverComboBox = new QComboBox();
mpSolverComboBox->addItem(QString("Explicit Euler"), QVariant(Solver::EULER_FORWARD));
mpSolverComboBox->addItem(QString("Explicit Euler"), QVariant((int)Solver::EULER_FORWARD));
Label *stepsizeLabel = new Label(tr("Step Size [s]"));
mpStepSizeLineEdit = new QLineEdit(QString::number(mStepSize));
Label *handleEventsLabel = new Label(tr("Process Events in FMU"));
Expand Down

0 comments on commit 12d09da

Please sign in to comment.