| 132 | } |
| 133 | |
| 134 | Variant SortingProxyModel::data( const ModelIndex& proxyIndex, ModelRole role ) const { |
| 135 | auto targetIndex = mapToSource( proxyIndex ); |
| 136 | eeASSERT( targetIndex.isValid() ); |
| 137 | return source().data( targetIndex, role ); |
| 138 | } |
| 139 | |
| 140 | ModelIndex SortingProxyModel::index( int row, int column, const ModelIndex& parent ) const { |
| 141 | if ( row < 0 || column < 0 ) |