equal
deleted
inserted
replaced
125 d->model = sourceModel; |
125 d->model = sourceModel; |
126 connect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); |
126 connect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); |
127 } else { |
127 } else { |
128 d->model = QAbstractItemModelPrivate::staticEmptyModel(); |
128 d->model = QAbstractItemModelPrivate::staticEmptyModel(); |
129 } |
129 } |
|
130 d->roleNames = d->model->roleNames(); |
130 } |
131 } |
131 |
132 |
132 /*! |
133 /*! |
133 Returns the model that contains the data that is available through the proxy model. |
134 Returns the model that contains the data that is available through the proxy model. |
134 */ |
135 */ |