diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 13:20:27 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 13:20:27 (GMT) |
commit | 41731f324366eb40b96554b0cb980d55854db25f (patch) | |
tree | a2d26dbd78bc33643693fb10132d3fee64af5ed9 /src/gui/itemviews/qabstractproxymodel.cpp | |
parent | 5d720a3ff97eef934c8bf61805da4df500f8afa5 (diff) | |
parent | 455440996f659ae246536b7450ba9b7900d015d0 (diff) | |
download | Qt-41731f324366eb40b96554b0cb980d55854db25f.zip Qt-41731f324366eb40b96554b0cb980d55854db25f.tar.gz Qt-41731f324366eb40b96554b0cb980d55854db25f.tar.bz2 |
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team: (250 commits)
Disable QtConcurrent for Symbian winscw builds.
Fix loss of focus and activation when hiding a child widget
Symbian build failure for Armv5
update def files
Fix softkeys in case a dialog with softkeys that have icons is closed.
Update softkeys after orientation switch.
ifdef out mac/no_coreservices path more cleanly
fix build on symbian
Provide internal API to avoid automatic translation of input widget
Allow different text for undo actions and items in QUndoView
Allow using not only prefixes for undo command text
QFileSystemEngine::currentPath(): use QFileSystemEntry() also for the no-PATH_MAX case
Massively update the hurd-g++ mkspec.
Sockets: Fix potential null pointer usages
Update QTBUG-17223 for Qt 4.8
Do not allow multiple threads to acquire a QMutex
rebuild configure
fix tst_qnetworkreply::httpProxyCommands autotest
Send User-Agent from the network request in http proxy CONNECT command
QSslConfiguration documentation fix
...
Diffstat (limited to 'src/gui/itemviews/qabstractproxymodel.cpp')
-rw-r--r-- | src/gui/itemviews/qabstractproxymodel.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/gui/itemviews/qabstractproxymodel.cpp b/src/gui/itemviews/qabstractproxymodel.cpp index 34ca7df..82b6c8d 100644 --- a/src/gui/itemviews/qabstractproxymodel.cpp +++ b/src/gui/itemviews/qabstractproxymodel.cpp @@ -121,15 +121,12 @@ QAbstractProxyModel::~QAbstractProxyModel() void QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel) { Q_D(QAbstractProxyModel); - if (d->model) { + if (d->model) disconnect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); - disconnect(d->model, SIGNAL(modelReset()), this, SLOT(resetInternalData())); - } if (sourceModel) { d->model = sourceModel; connect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); - connect(d->model, SIGNAL(modelReset()), this, SLOT(resetInternalData())); } else { d->model = QAbstractItemModelPrivate::staticEmptyModel(); } @@ -383,25 +380,6 @@ Qt::DropActions QAbstractProxyModel::supportedDropActions() const return d->model->supportedDropActions(); } -/* - \since 4.8 - - This slot is called just after the internal data of a model is cleared - while it is being reset. - - This slot is provided the convenience of subclasses of concrete proxy - models, such as subclasses of QSortFilterProxyModel which maintain extra - data. - - \snippet doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp 10 - - \sa modelAboutToBeReset(), modelReset() -*/ -void QAbstractProxyModel::resetInternalData() -{ - -} - QT_END_NAMESPACE #include "moc_qabstractproxymodel.cpp" |