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.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/properties.cc b/src/properties.cc
index f5e2159..87633f7 100644
--- a/src/properties.cc
+++ b/src/properties.cc
@@ -18,8 +18,11 @@ Properties::~Properties()
{
}
-void Properties::add_value(const QString &key, const QString &value)
+void Properties::add_value(const QString &key, const QString &value, const QString &comment)
{
+ if (comment.size())
+ properties_values += comment;
+
properties_values += key;
properties_values += '=';
properties_values += value;