Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/zoneproperties.cc')
-rw-r--r--src/zoneproperties.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zoneproperties.cc b/src/zoneproperties.cc
index 43e4804..4e5736b 100644
--- a/src/zoneproperties.cc
+++ b/src/zoneproperties.cc
@@ -34,7 +34,8 @@ void ZoneProperties::save(QTextStream & textstream)
}
textstream << "[zone]" << '\n';
-
+
+ save_comment(textstream, "name");
if (name().size())
textstream << "name=" << name() << '\n';
@@ -46,6 +47,7 @@ void ZoneProperties::save(QTextStream & textstream)
// info string
if (info().size()) {
textstream << '\n';
+ save_comment(textstream, "info");
// QTextStream operates on QString, not on QString const
QString infobuffer = info();