Browse Source

-Wenum-compare fixes

QGC4.4
Don Gagne 11 years ago
parent
commit
1711e04fc6
  1. 2
      src/ui/uas/UASQuickView.cc

2
src/ui/uas/UASQuickView.cc

@ -275,7 +275,7 @@ void UASQuickView::valueChanged(const int uasId, const QString& name, const QStr @@ -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;

Loading…
Cancel
Save