| 418 | } |
| 419 | |
| 420 | void Project::setModified(bool m) |
| 421 | { |
| 422 | modified = m; |
| 423 | auto label = rootItem->data(Role::OriginalLabel).toString(); |
| 424 | if (modified) { |
| 425 | rootItem->setText(label + " *"); |
| 426 | } else { |
| 427 | rootItem->setText(label); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | void Project::projectFile(const QString& fileName) |
| 432 | { |