Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#18 closed patch (fixed)

QgsLegendGroup::insert must return a value

Reported by: mloskot Owned by: gsherman
Priority: major: does not work as expected Milestone:
Component: GUI Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

This member function seems to be not finished, so I added my comment about that I'm not sure what value should it return:

bool QgsLegendGroup::insert(QgsLegendItem* theItem)
{
   if(theItem->type() == LEGEND_LAYER)
   {
      addChild(theItem);
   }
 
   // XXX - mloskot - I don't know what to return
   // but this function must return a value
   return true;
}

Attachments (1)

legend-qgslegendgroup.cpp-mloskot-20060314.patch (511 bytes ) - added by mloskot 18 years ago.
Patch that fixes bug in this Ticket

Download all attachments as: .zip

Change History (5)

by mloskot, 18 years ago

Patch that fixes bug in this Ticket

comment:1 by mloskot, 18 years ago

Type: bugpatch

comment:2 by gsherman, 18 years ago

Resolution: fixed
Status: newclosed

Already fixed in HEAD

comment:3 by anonymous, 17 years ago

Awaiting user input: unset
Must Fix for Release: No

comment:4 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.