summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-08 08:29:25 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-08 08:29:25 +0000
commit2cbc06dda31a6f076be42ef075b4a9e14a21f418 (patch)
tree93d946ad2d6c7e42ec66226dd46b7b884830fe63
parent5354a83afb6b27ad3fd9de2c038f3fe2739f1f84 (diff)
removed some warnings
-rw-r--r--muse2/muse/arranger/pcanvas.cpp2
-rw-r--r--muse2/muse/track.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index fb7274e2..cd05b047 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -2761,7 +2761,7 @@ void PartCanvas::viewDropEvent(QDropEvent* event)
Track* track = 0;
if (trackNo < tracks->size())
track = tracks->index(trackNo);
- printf("trackNo=%d\n, trackNo track=%d\n", trackNo, track);
+ //printf("trackNo=%d\n, trackNo track=%d\n", trackNo, track);
int x = AL::sigmap.raster(event->pos().x(), *_raster);
if (x < 0)
x = 0;
diff --git a/muse2/muse/track.h b/muse2/muse/track.h
index ba42bd36..aec765da 100644
--- a/muse2/muse/track.h
+++ b/muse2/muse/track.h
@@ -186,7 +186,7 @@ class Track {
virtual bool canRecord() const { return false; }
virtual AutomationType automationType() const = 0;
virtual void setAutomationType(AutomationType t) = 0;
- static void setVisible(bool t) { }
+ static void setVisible(bool ) { }
};