Feature request #3921
QgsLegendGroup::insert must return a value
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Low | ||
| Assignee: | |||
| Category: | GUI | ||
| Pull Request or Patch supplied: | Resolution: | fixed | |
| Easy fix?: | No | Copied to github as #: | 13945 |
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;
}
History
#1
Updated by Gary Sherman over 19 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Already fixed in HEAD
#2 Updated by Anonymous about 16 years ago
Milestone Version 0.8 deleted
