diff options
Diffstat (limited to 'src/project.cc')
-rw-r--r-- | src/project.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/project.cc b/src/project.cc index 318898b..5cadcd4 100644 --- a/src/project.cc +++ b/src/project.cc @@ -483,6 +483,24 @@ void Project::setExportPath(const QString& export_path) } } +QString Project::getProjectDescription() const +{ + return description; +} + +void Project::setProjectDescription(const QString& description) +{ + if(this->description == description) + { + return; + } + + { + Project::RAIIBulkUpdate bulkUpdate(*this); + this->description = description; + } +} + Instrument& Project::getInstrument(int id) { for(auto& instrument : instruments) |