message: Fix the invalid pointer dereference bug in the combo widget
diff: @@ -697,9 +697,12 @@ void MiniQtHelper::SetComboOptions(QWidget *combo, const rdcarray<rdcstr> &optio
  for(const rdcstr &o : options)
  texts << o;
  + if(comb)
  + {
  comb->clear();
  comb->addItems(texts);
  }
  +}
  size_t MiniQtHelper::GetComboCount(QWidget *combo)
  {
  @@ -707,7 +710,10 @@ size_t MiniQtHelper::GetComboCount(QWidget *combo)
  return 0;
  const QComboBox *comb = qobject_cast<const QComboBox *>(combo);
  + if(comb)
  return comb->count();
  +
  + return 0;
  }
  void MiniQtHelper::SelectComboOption(QWidget *combo, const rdcstr &option)
  @@ -716,5 +722,6 @@ void MiniQtHelper::SelectComboOption(QWidget *combo, const rdcstr &option)
  return;
  QComboBox *comb = qobject_cast<QComboBox *>(combo);
  + if(comb)
  comb->setCurrentText(option);
  }
  