Commit 1711e04f authored by Don Gagne's avatar Don Gagne

-Wenum-compare fixes

parent 1fdbf2c6
......@@ -275,7 +275,7 @@ void UASQuickView::valueChanged(const int uasId, const QString& name, const QStr
Q_UNUSED(unit);
bool ok;
double value = variant.toDouble(&ok);
QMetaType metaType = static_cast<QMetaType::Type>(variant.type());
QMetaType::Type metaType = static_cast<QMetaType::Type>(variant.type());
if(!ok || metaType == QMetaType::QString || metaType == QMetaType::QByteArray)
return;
......
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