diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2009-10-07 15:07:14 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2009-10-07 15:08:23 (GMT) |
commit | 6480937b52c4d18dce0288c69586467f36584590 (patch) | |
tree | f025ff85f136c35dc9eae3acb1dda3c0ea64c599 | |
parent | 883b0828d3a9c407d4f3088f9c63a7c8094927ca (diff) | |
download | Qt-6480937b52c4d18dce0288c69586467f36584590.zip Qt-6480937b52c4d18dce0288c69586467f36584590.tar.gz Qt-6480937b52c4d18dce0288c69586467f36584590.tar.bz2 |
viewport()->update() after delegate set for QAbstractItemView
Reviewed-by: Olivier
-rw-r--r-- | src/gui/itemviews/qabstractitemview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp index 27528de..37f4184 100644 --- a/src/gui/itemviews/qabstractitemview.cpp +++ b/src/gui/itemviews/qabstractitemview.cpp @@ -761,7 +761,7 @@ void QAbstractItemView::setItemDelegate(QAbstractItemDelegate *delegate) } } d->itemDelegate = delegate; - update(); + viewport()->update(); } /*! @@ -826,7 +826,7 @@ void QAbstractItemView::setItemDelegateForRow(int row, QAbstractItemDelegate *de } d->rowDelegates.insert(row, delegate); } - update(); + viewport()->update(); } /*! @@ -883,7 +883,7 @@ void QAbstractItemView::setItemDelegateForColumn(int column, QAbstractItemDelega } d->columnDelegates.insert(column, delegate); } - update(); + viewport()->update(); } /*! |