Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.cc')
-rw-r--r--src/properties.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/properties.cc b/src/properties.cc
index 87633f7..c9263cb 100644
--- a/src/properties.cc
+++ b/src/properties.cc
@@ -35,4 +35,12 @@ void Properties::add_info(const QString &text)
properties_info += '\n';
}
+void Properties::save_comment(QTextStream &textstream, const QString &attribute)
+{
+ QString text = comment(attribute);
+ if (text.size()) {
+ textstream << text;
+ }
+}
+
} // namespace editor