Changeset 651 for trunk/src/gui/itemviews/qtableview.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/itemviews/qtableview.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 115 115 } else if (old_height > span->height()) { 116 116 //remove the span from all the subspans lists that intersect the columns not covered anymore 117 Index::iterator it_y = index.lowerBound(qMin(-span->bottom(), 0)); 117 Index::iterator it_y = index.lowerBound(-span->bottom()); 118 if (it_y == index.end()) 119 it_y = index.find(-span->top()); // This is the only span remaining and we are deleting it. 118 120 Q_ASSERT(it_y != index.end()); //it_y must exist since the span is in the list 119 121 while (-it_y.key() <= span->top() + old_height -1) {
Note:
See TracChangeset
for help on using the changeset viewer.