| 1056:541cec5e913c | 1057:b0bc313dea43 |
|---|---|
| 97 } | 97 } |
| 98 return QVariant(); | 98 return QVariant(); |
| 99 } | 99 } |
| 100 | 100 |
| 101 void ListModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { | 101 void ListModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { |
| 102 if(!ui_selection_events_is_enabled()) { | |
| 103 return; | |
| 104 } | |
| 105 | |
| 102 UiListSelection sel; | 106 UiListSelection sel; |
| 103 if(listview) { | 107 if(listview) { |
| 104 sel = ui_selection_model_to_selection(listview->selectionModel()); | 108 sel = ui_selection_model_to_selection(listview->selectionModel()); |
| 105 } else { | 109 } else { |
| 106 // TODO | 110 // TODO |