summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-01 10:11:03 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-09-01 10:11:03 (GMT)
commitc78c520bde91c08cedc6f7cc5c943998155f078e (patch)
treef8943e7153640d2d4a4975e47e53f8f3cf94d12f
parentc15e07884a29be26f1110e4d54a56da0001e3c53 (diff)
downloadQt-c78c520bde91c08cedc6f7cc5c943998155f078e.zip
Qt-c78c520bde91c08cedc6f7cc5c943998155f078e.tar.gz
Qt-c78c520bde91c08cedc6f7cc5c943998155f078e.tar.bz2
Fixed warnings (just 2 Q_Q() that are not used any more
-rw-r--r--src/corelib/kernel/qabstractitemmodel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/kernel/qabstractitemmodel.cpp b/src/corelib/kernel/qabstractitemmodel.cpp
index 0a6c628..ec8fb76 100644
--- a/src/corelib/kernel/qabstractitemmodel.cpp
+++ b/src/corelib/kernel/qabstractitemmodel.cpp
@@ -601,7 +601,6 @@ void QAbstractItemModelPrivate::rowsInserted(const QModelIndex &parent,
void QAbstractItemModelPrivate::itemsAboutToBeMoved(const QModelIndex &srcParent, int srcFirst, int srcLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation orientation)
{
- Q_Q(QAbstractItemModel);
QVector<QPersistentModelIndexData *> persistent_moved_explicitly;
QVector<QPersistentModelIndexData *> persistent_moved_in_source;
QVector<QPersistentModelIndexData *> persistent_moved_in_destination;
@@ -2469,7 +2468,6 @@ void QAbstractItemModel::endRemoveRows()
*/
bool QAbstractItemModelPrivate::allowMove(const QModelIndex &srcParent, int start, int end, const QModelIndex &destinationParent, int destinationStart, Qt::Orientation orientation)
{
- Q_Q(QAbstractItemModel);
// Don't move the range within itself.
if ( ( destinationParent == srcParent )
&& ( destinationStart >= start )