Commit 7aef7fcf authored by Bryant's avatar Bryant

Missed compilation error during rebase

parent 0a1c6784
......@@ -151,7 +151,6 @@ void UASQuickView::setActiveUAS(UASInterface* uas)
{
if (this->uas)
{
uasPropertyList.clear();
uasPropertyValueMap.clear();
foreach (UASQuickViewItem* i, uasPropertyToLabelMap.values())
{
......@@ -332,6 +331,13 @@ void UASQuickView::valueChanged(const int uasId, const QString& name, const QStr
Q_UNUSED(uasId);
Q_UNUSED(unit);
Q_UNUSED(msec);
if (!uasPropertyValueMap.contains(name))
{
if (quickViewSelectDialog)
{
quickViewSelectDialog->addItem(name);
}
}
uasPropertyValueMap[name] = value.toDouble();
}
......@@ -358,14 +364,6 @@ void UASQuickView::actionTriggered(bool checked)
}
}
void UASQuickView::valueChanged(const int uasid, const QString& name, const QString& unit, const QVariant value,const quint64 msecs)
{
Q_UNUSED(uasid);
Q_UNUSED(unit);
Q_UNUSED(msecs);
uasPropertyValueMap[name] = value.toDouble();
}
void UASQuickView::valChanged(double val,QString type)
{
Q_UNUSED(val);
......
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