summaryrefslogtreecommitdiff
path: root/muse2/muse/trackdrummapupdater.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-08-04 08:56:37 +0000
committerTim E. Real <termtech@rogers.com>2012-08-04 08:56:37 +0000
commit8ee7ac503d93d7a0b6cf3b49c3255d389ba59c17 (patch)
treed21dd823d8365f08924525dfb0457c5b82b8193f /muse2/muse/trackdrummapupdater.cpp
parent79d44ac604c41d431c36bf8a6422e4d5899e68dd (diff)
Introducing: More bits for Song Changed SC_* flags.
Added member Song::updateFlags2. Song::update() now takes an extra 'flags2' param. Please see ChangeLog for important information.
Diffstat (limited to 'muse2/muse/trackdrummapupdater.cpp')
-rw-r--r--muse2/muse/trackdrummapupdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/trackdrummapupdater.cpp b/muse2/muse/trackdrummapupdater.cpp
index 35d5c056..5fce2587 100644
--- a/muse2/muse/trackdrummapupdater.cpp
+++ b/muse2/muse/trackdrummapupdater.cpp
@@ -31,7 +31,7 @@ using MusEGlobal::song;
TrackDrummapUpdater::TrackDrummapUpdater()
{
- connect(song,SIGNAL(songChanged(int)), this, SLOT(songChanged(int)));
+ connect(song,SIGNAL(songChanged(int, int)), this, SLOT(songChanged(int)));
}
void TrackDrummapUpdater::songChanged(int flags)
@@ -52,7 +52,7 @@ void TrackDrummapUpdater::songChanged(int flags)
{
// allow recursion. there will be no more recursion, because this
// is only executed when something other than SC_DRUMMAP happens
- song->update(SC_DRUMMAP, true);
+ song->update(SC_DRUMMAP, 0, true);
}
}