equal
deleted
inserted
replaced
444 if(id > 0) { |
444 if(id > 0) { |
445 if (pMap) |
445 if (pMap) |
446 { |
446 { |
447 disconnect(pMap, 0, this, SLOT(setImage(const QImage))); |
447 disconnect(pMap, 0, this, SLOT(setImage(const QImage))); |
448 disconnect(pMap, 0, this, SLOT(setHHLimit(int))); |
448 disconnect(pMap, 0, this, SLOT(setHHLimit(int))); |
449 pMap->deleteLater(); |
|
450 pMap = 0; |
449 pMap = 0; |
451 } |
450 } |
452 chooseMap->setCurrentIndex(id); |
451 chooseMap->setCurrentIndex(id); |
453 updatePreview(); |
452 updatePreview(); |
454 } |
453 } |