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
This commit is contained in:
g_j_m 2006-11-30 22:24:35 +00:00
parent c13ed7a1ed
commit 6ad7db4bfb

View File

@ -248,10 +248,10 @@ void QgsIdentifyResults::popupItemSelected(QAction* menuAction)
}
/** Expand all the identified features (show their attributes). */
void QgsIdentifyResults::showAllAttributes() {
QTreeWidgetItemIterator qlvii(lstResults);
for ( ; *qlvii; ++qlvii)
lstResults->setItemExpanded(*qlvii, true);
void QgsIdentifyResults::showAllAttributes()
{
// Easy now with Qt 4.2...
lstResults->expandAll();
}
void QgsIdentifyResults::expandColumnsToFit()