#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)
Change History (5)
by , 18 years ago
Attachment: | legend-qgslegendgroup.cpp-mloskot-20060314.patch added |
---|
comment:1 by , 18 years ago
Type: | bug → patch |
---|
comment:3 by , 17 years ago
Awaiting user input: | unset |
---|---|
Must Fix for Release: | → No |
Note:
See TracTickets
for help on using tickets.
Patch that fixes bug in this Ticket