gui-qgsgraduatedsymbolrenderer.cpp-mloskot-20060314.patch
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() |