Skip to content

Commit c900767

Browse files

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.