From 8021e2d5e7ccd09146896f788441c116f2ca6159 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 24 Nov 2011 23:21:36 +0100 Subject: Remove the backwards compatibility signal emissions when moving items. Change-Id: I29a44835d3397c1dbf37026daf0c5234dae770e0 Reviewed-by: David Faure Reviewed-by: Olivier Goffart --- src/widgets/itemviews/qabstractitemview.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/widgets/itemviews/qabstractitemview.cpp') diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp index 8c99ed4b5a..06544e3146 100644 --- a/src/widgets/itemviews/qabstractitemview.cpp +++ b/src/widgets/itemviews/qabstractitemview.cpp @@ -3499,6 +3499,16 @@ void QAbstractItemViewPrivate::_q_layoutChanged() #endif } +void QAbstractItemViewPrivate::_q_rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int) +{ + _q_layoutChanged(); +} + +void QAbstractItemViewPrivate::_q_columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int) +{ + _q_layoutChanged(); +} + /*! This slot is called when the selection is changed. The previous selection (which may be empty), is specified by \a deselected, and the -- cgit v1.2.3