gui-qgsgraduatedsymbolrenderer.cpp-mloskot-20060314.patch

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

Download (990 Bytes)

View differences:

gui/qgsgraduatedsymbolrenderer.cpp (working copy)
49 49
{
50 50
    if(this != &other)
51 51
    {
52
	mVectorType = other.mVectorType; 
53
	mClassificationField = other.mClassificationField;
54
	removeSymbols();
55
	const std::list<QgsSymbol*> s = other.symbols();
56
	for(std::list<QgsSymbol*>::const_iterator it=s.begin(); it!=s.end(); ++it)
57
	{
58
	    addSymbol(new QgsSymbol(**it));
59
	}
52
        mVectorType = other.mVectorType; 
53
        mClassificationField = other.mClassificationField;
54
        removeSymbols();
55
        const std::list<QgsSymbol*> s = other.symbols();
56
        for(std::list<QgsSymbol*>::const_iterator it=s.begin(); it!=s.end(); ++it)
57
        {
58
            addSymbol(new QgsSymbol(**it));
59
        }
60 60
    }
61

  
62
    return *this;
61 63
}
62 64

  
63 65
QgsGraduatedSymbolRenderer::~QgsGraduatedSymbolRenderer()