| 72 | } |
| 73 | |
| 74 | void ModelSelection::clear( bool notify ) { |
| 75 | Lock l( mMutex ); |
| 76 | if ( mIndexes.empty() ) |
| 77 | return; |
| 78 | mIndexes.clear(); |
| 79 | if ( notify ) |
| 80 | mView->notifySelectionChange(); |
| 81 | } |
| 82 | |
| 83 | void ModelSelection::notifySelectionChanged() { |
| 84 | Lock l( mMutex ); |
no test coverage detected