Skip to content
Permalink
Browse files
Replaced Q3ListViewItem* with QTreeWidgetItem* to fix compilation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5913 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 4, 2006
1 parent c1a941d commit c449d4a3294f6e07d84b3faea3811f8404512754
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/gui/qgsmaptoolidentify.cpp
@@ -32,7 +32,6 @@
#include <QCursor>
#include <QPixmap>


QgsMapToolIdentify::QgsMapToolIdentify(QgsMapCanvas* canvas)
: QgsMapTool(canvas),
mResults(0),
@@ -248,7 +247,7 @@ void QgsMapToolIdentify::identifyVectorLayer(QgsVectorLayer* layer, const QgsPoi
{
featureCount++;

Q3ListViewItem *featureNode = mResults->addNode("foo");
QTreeWidgetItem* featureNode = mResults->addNode("foo");
featureNode->setText(0, fieldIndex);
std::vector < QgsFeatureAttribute > attr = fet->attributeMap();
// Do this only once rather than each pass through the loop

0 comments on commit c449d4a

Please sign in to comment.