Skip to content

Commit

Permalink
Replaced Q3ListViewItem* with QTreeWidgetItem* to fix compilation
Browse files Browse the repository at this point in the history
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 c449d4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/qgsmaptoolidentify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <QCursor>
#include <QPixmap>


QgsMapToolIdentify::QgsMapToolIdentify(QgsMapCanvas* canvas)
: QgsMapTool(canvas),
mResults(0),
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c449d4a

Please sign in to comment.