Copy paste mistake.
--HG-- branch : develop
This commit is contained in:
parent
40fc6bea54
commit
7611940c40
|
@ -63,7 +63,7 @@ DialogNewMeasurements::~DialogNewMeasurements()
|
||||||
MeasurementsType DialogNewMeasurements::Type() const
|
MeasurementsType DialogNewMeasurements::Type() const
|
||||||
{
|
{
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
|
||||||
return static_cast<Unit>(ui->comboBoxMType->itemData(ui->comboBoxMType->currentIndex()).toInt());
|
return static_cast<MeasurementsType>(ui->comboBoxMType->itemData(ui->comboBoxMType->currentIndex()).toInt());
|
||||||
#else
|
#else
|
||||||
return static_cast<MeasurementsType>(ui->comboBoxMType->currentData().toInt());
|
return static_cast<MeasurementsType>(ui->comboBoxMType->currentData().toInt());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user