summaryrefslogtreecommitdiff
path: root/muse2/muse/eventlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/eventlist.cpp')
-rw-r--r--muse2/muse/eventlist.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/muse/eventlist.cpp b/muse2/muse/eventlist.cpp
index 0615d435..a411fc61 100644
--- a/muse2/muse/eventlist.cpp
+++ b/muse2/muse/eventlist.cpp
@@ -25,6 +25,8 @@
#include "event.h"
#include "xml.h"
+namespace MusECore {
+
//---------------------------------------------------------
// readEventList
//---------------------------------------------------------
@@ -90,7 +92,7 @@ void EventList::move(Event& event, unsigned tick)
// Added by T356.
if(event.type() == Wave)
- std::multimap<unsigned, Event, std::less<unsigned> >::insert(std::pair<const unsigned, Event> (tempomap.tick2frame(tick), event));
+ std::multimap<unsigned, Event, std::less<unsigned> >::insert(std::pair<const unsigned, Event> (MusEGlobal::tempomap.tick2frame(tick), event));
else
std::multimap<unsigned, Event, std::less<unsigned> >::insert(std::pair<const unsigned, Event> (tick, event));
@@ -125,3 +127,4 @@ void EventList::dump() const
i->second.dump();
}
+} // namespace MusECore