Hi,

My app is crashing when i set the QSortFilterProxyModel in the combo box.
below is the code snippet that i use to set the model to the comboBox

Qt Code:
  1. m_TxPowerProxyModel->setDynamicSortFilter(true);
  2. m_TxPowerProxyModel->setSourceModel(m_Model);
  3. m_Ui.txPowerCombo->setModel(m_TxPowerProxyModel);
  4. m_Ui.txPowerCombo->setModelColumn(DevicesModel::TX_POWER);
  5. m_TxPowerProxyModel->SetModelSearchStr(m_BandProxyModel->data(index).toString());
To copy to clipboard, switch view to plain text mode 

Please Help......

Regards,
GK