diff options
author | Florian Jung <flo@windfisch.org> | 2013-08-19 22:10:22 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-08-19 22:10:22 +0200 |
commit | 013294f58a6433671da3b34775de5a3a7ea91464 (patch) | |
tree | 7a1135f74c798f78c802c8c4e4ca4f9b0c293baa /muse2/muse/arranger/pcanvas.cpp | |
parent | 67c0ed979d4dd05c1d51b688c2fb02ebc681afd1 (diff) |
some const-correctness. Part interface overhaul.
various fixes.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 860a33ac..91c0df5e 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -2321,7 +2321,7 @@ void PartCanvas::copy_in_range(MusECore::PartList* pl_) MusECore::Part* p1; MusECore::Part* p2; - track->splitPart(part, lpos, p1, p2); + part->splitPart(lpos, p1, p2); part=p2; } @@ -2331,7 +2331,7 @@ void PartCanvas::copy_in_range(MusECore::PartList* pl_) MusECore::Part* p1; MusECore::Part* p2; - track->splitPart(part, rpos, p1, p2); + part->splitPart(rpos, p1, p2); part=p1; } @@ -2427,7 +2427,7 @@ MusECore::Undo PartCanvas::pasteAt(const QString& pt, MusECore::Track* track, un if (tag == "part") { // Read the part. MusECore::Part* p = 0; - p = Part::readFromXml(xml, track, clone, toTrack); + p = MusECore::Part::readFromXml(xml, track, clone, toTrack); // If it could not be created... if(!p) |