summaryrefslogtreecommitdiff
path: root/lyt/group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lyt/group.cpp')
-rw-r--r--lyt/group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lyt/group.cpp b/lyt/group.cpp
index 10b534d..4573459 100644
--- a/lyt/group.cpp
+++ b/lyt/group.cpp
@@ -23,12 +23,12 @@ LYTGroup::LYTGroup() {
-void LYTGroup::writeToDataStream(QDataStream &out) {
+void LYTGroup::writeToDataStream(QDataStream &out) const {
WriteFixedLengthASCII(out, name, 0x10);
// write the contents
out << (quint16)panes.count();
- out.skipRawData(2); // padding
+ WritePadding(2, out);
foreach (LYTPane *pane, panes) {
WriteFixedLengthASCII(out, pane->name, 0x10);