Feature request #3921

QgsLegendGroup::insert must return a value

Added by Mateusz Loskot - about 18 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
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;
}

legend-qgslegendgroup.cpp-mloskot-20060314.patch Magnifier - Patch that fixes bug in this Ticket (511 Bytes) Mateusz Loskot -, 2006-03-24 02:04 PM

History

#1 Updated by Gary Sherman about 18 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Already fixed in HEAD

#2 Updated by Anonymous over 14 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF