| 497 | } |
| 498 | |
| 499 | void Map::setModified(bool modifiedFlag) |
| 500 | { |
| 501 | if (_modified != modifiedFlag) |
| 502 | { |
| 503 | _modified = modifiedFlag; |
| 504 | |
| 505 | // when the map is modified, let the listeners now |
| 506 | signal_modifiedChanged().emit(); |
| 507 | } |
| 508 | |
| 509 | // Reset the map save timer |
| 510 | _mapSaveTimer.restart(); |
| 511 | } |
| 512 | |
| 513 | sigc::signal<void>& Map::signal_modifiedChanged() |
| 514 | { |
no test coverage detected