qgsuniguevaluedialog.cpp-undefined-behaviour-fix-mloskot-20060329.patch
| qgsuniquevaluedialog.cpp (kopia robocza) | ||
|---|---|---|
| 57 | 57 |
if (renderer) |
| 58 | 58 |
{
|
| 59 | 59 |
mClassBreakBox->clear(); |
| 60 |
std::list<int>::iterator iter=renderer->classificationAttributes().begin(); |
|
| 61 |
int classattr=*iter; |
|
| 60 |
|
|
| 61 |
// XXX - mloskot - fix for Ticket #31 (bug) |
|
| 62 |
std::list<int> attributes = renderer->classificationAttributes(); |
|
| 63 |
std::list<int>::iterator iter = attributes.begin(); |
|
| 64 |
int classattr = *iter; |
|
| 62 | 65 |
mClassificationComboBox->setCurrentItem(classattr); |
| 63 | 66 | |
| 64 | 67 |
const std::list<QgsSymbol*> list = renderer->symbols(); |