gui-qgssinglesymbolrenderer.cpp-mloskot-20060314.patch

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

Download (576 Bytes)

View differences:

src/gui/qgssinglesymbolrenderer.cpp (working copy)
67 67
{
68 68
    if(this!=&other)
69 69
    {
70
	mVectorType = other.mVectorType;
71
	delete mSymbol;
72
	mSymbol = new QgsSymbol(*other.mSymbol);
70
        mVectorType = other.mVectorType;
71
        delete mSymbol;
72
        mSymbol = new QgsSymbol(*other.mSymbol);
73 73
    }
74
    return *this;
74 75
}
75 76

  
76 77
QgsSingleSymbolRenderer::~QgsSingleSymbolRenderer()