Changeset 269 in flair-src for trunk/tools/FlairGCS/src/CheckBox.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/CheckBox.cpp

    r15 r269  
    4646void CheckBox::Reset(void) { checkbox->setChecked(checkbox_value); }
    4747
    48 void CheckBox::LoadEvent(QDomElement dom) {
     48void CheckBox::LoadEvent(QDomElement *dom) {
    4949  if (checkbox->isEnabled() == true) {
    50     if (dom.attribute("value") == QString("1")) {
     50    if (dom->attribute("value") == QString("1")) {
    5151      checkbox->setChecked(true);
    5252    } else {
Note: See TracChangeset for help on using the changeset viewer.