Changeset 269 in flair-src for trunk/tools/FlairGCS/src/SpinBox.cpp


Ignore:
Timestamp:
Oct 4, 2018, 1:53:11 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

flairgcs:
speed up processing time when receiving datas from uav
triger watchdog while receiving datas from uav
(avoids connection lost in uav)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/SpinBox.cpp

    r15 r269  
    4040void SpinBox::Reset(void) { spinbox->setValue(spinbox_value); }
    4141
    42 void SpinBox::LoadEvent(QDomElement dom) {
     42void SpinBox::LoadEvent(QDomElement *dom) {
    4343  if (spinbox->isEnabled() == true) {
    44     spinbox->setValue((dom.attribute("value")).toInt());
     44    spinbox->setValue((dom->attribute("value")).toInt());
    4545  }
    4646}
Note: See TracChangeset for help on using the changeset viewer.