| 18 | } |
| 19 | |
| 20 | void ModelSelection::set( const ModelIndex& index ) { |
| 21 | eeASSERT( index.isValid() ); |
| 22 | Lock l( mMutex ); |
| 23 | if ( mIndexes.size() == 1 && contains( index ) ) |
| 24 | return; |
| 25 | mIndexes.clear(); |
| 26 | mIndexes.push_back( index ); |
| 27 | mView->notifySelectionChange(); |
| 28 | } |
| 29 | |
| 30 | void ModelSelection::set( const std::vector<ModelIndex>& indexes, bool notify ) { |
| 31 | #ifdef EE_DEBUG |
no test coverage detected