Skip to content

Commit 6ad7db4

Browse files
author
g_j_m
committedNov 30, 2006
Fix for ticket #412 (expanding of identify list results had stopped working)
git-svn-id: http://svn.osgeo.org/qgis/trunk@6156 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c13ed7a commit 6ad7db4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/gui/qgsidentifyresults.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ void QgsIdentifyResults::popupItemSelected(QAction* menuAction)
248248
}
249249

250250
/** Expand all the identified features (show their attributes). */
251-
void QgsIdentifyResults::showAllAttributes() {
252-
QTreeWidgetItemIterator qlvii(lstResults);
253-
for ( ; *qlvii; ++qlvii)
254-
lstResults->setItemExpanded(*qlvii, true);
251+
void QgsIdentifyResults::showAllAttributes()
252+
{
253+
// Easy now with Qt 4.2...
254+
lstResults->expandAll();
255255
}
256256

257257
void QgsIdentifyResults::expandColumnsToFit()

0 commit comments

Comments
 (0)
Please sign in to comment.