summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-09-17 08:35:55 +0000
committerTim E. Real <termtech@rogers.com>2011-09-17 08:35:55 +0000
commit030457faadce72a099193617237d5b7dcc792c87 (patch)
tree330e09c5c0ef42d8baff8a9c15e98cb1170373c5 /muse2/muse/arranger/pcanvas.cpp
parent663b022ab88acc47a5df898aa8df10d2e6422ba1 (diff)
Fixed errors when ladspa plugins not found while loading.
Fixed forgotten bool to pointer conversion in some calls to song::addTrack, createSynthI.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 9e27ca41..d6ae1300 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -332,7 +332,7 @@ UndoOp PartCanvas::moveItem(MusEWidget::CItem* item, const QPoint& newpos, DragT
ntrack = tracks->size();
if (MusEGlobal::debugMsg)
printf("PartCanvas::moveItem - add new track\n");
- Track* newTrack = song->addTrack(type, false); // Add at end of list.
+ Track* newTrack = song->addTrack(type); // Add at end of list.
if (type == Track::WAVE) {
WaveTrack* st = (WaveTrack*) track;
WaveTrack* dt = (WaveTrack*) newTrack;
@@ -3138,9 +3138,9 @@ void PartCanvas::viewDropEvent(QDropEvent* event)
if (!track) { // we need to create a track for this drop
if (text.endsWith(".mpt", Qt::CaseInsensitive)) {
- track = song->addTrack(Track::MIDI, false); // Add at end of list.
+ track = song->addTrack(Track::MIDI); // Add at end of list.
} else {
- track = song->addTrack(Track::WAVE, false); // Add at end of list.
+ track = song->addTrack(Track::WAVE); // Add at end of list.
}
}
if (track->type() == Track::WAVE &&