From ffc4685901ad6b0a75a8be22fd27be10696ada8d Mon Sep 17 00:00:00 2001 From: Werner Schweer Date: Sun, 26 Nov 2006 11:39:02 +0000 Subject: add missing ref() for wave parts --- muse/muse/wavetrack.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3