We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent bf9fc89 commit c900767Copy full SHA for c900767
src/gui/qgsidentifyresults.cpp
@@ -248,10 +248,10 @@ void QgsIdentifyResults::popupItemSelected(QAction* menuAction)
248
}
249
250
/** 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);
+void QgsIdentifyResults::showAllAttributes()
+{
+ // Easy now with Qt 4.2...
+ lstResults->expandAll();
255
256
257
void QgsIdentifyResults::expandColumnsToFit()
0 commit comments