summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-11-26 11:39:02 +0000
committerWerner Schweer <ws.seh.de>2006-11-26 11:39:02 +0000
commitffc4685901ad6b0a75a8be22fd27be10696ada8d (patch)
tree261a17da60c6555801ed107cd0a85a6b88889b3f
parent7ee25b0f33a5d98f2b88d9638b544ae6638c8b24 (diff)
add missing ref() for wave parts
-rw-r--r--muse/muse/wavetrack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/muse/muse/wavetrack.cpp b/muse/muse/wavetrack.cpp
index 14f2ef4a..ae269f52 100644
--- a/muse/muse/wavetrack.cpp
+++ b/muse/muse/wavetrack.cpp
@@ -156,6 +156,7 @@ void WaveTrack::read(QDomNode node)
QDomElement e = node.toElement();
if (e.tagName() == "part") {
Part* p = newPart();
+ p->ref();
p->read(node);
parts()->add(p);
}