legend-qgslegendgroup.cpp-mloskot-20060314.patch

Patch that fixes bug in this Ticket - Mateusz Loskot -, 2006-03-24 02:04 PM

Download (511 Bytes)

View differences:

legend/qgslegendgroup.cpp (working copy)
99 99
{
100 100
    if(theItem->type() == LEGEND_LAYER)
101 101
    {
102
	addChild(theItem);
102
        addChild(theItem);
103 103
    }
104
    // XXX - mloskot - I don't know what to return
105
    // but this function must return a value
106
    return true;
104 107
}
105 108

  
106 109
std::list<QgsLegendLayerFile*> QgsLegendGroup::legendLayerFiles()