summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/wtscale.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/widgets/wtscale.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/widgets/wtscale.cpp')
-rw-r--r--muse2/muse/widgets/wtscale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/widgets/wtscale.cpp b/muse2/muse/widgets/wtscale.cpp
index 82ab0ca4..b41e7b83 100644
--- a/muse2/muse/widgets/wtscale.cpp
+++ b/muse2/muse/widgets/wtscale.cpp
@@ -54,7 +54,7 @@ WTScale::WTScale(int* r, QWidget* parent, int xs)
button = Qt::NoButton;
setMouseTracking(true);
connect(MusEGlobal::song, SIGNAL(posChanged(int, unsigned, bool)), SLOT(setPos(int, unsigned, bool)));
- connect(MusEGlobal::song, SIGNAL(songChanged(int)), SLOT(songChanged(int)));
+ connect(MusEGlobal::song, SIGNAL(songChanged(int, int)), SLOT(songChanged(int)));
connect(MusEGlobal::song, SIGNAL(markerChanged(int)), SLOT(redraw()));
setFixedHeight(28);
setBg(QColor(0xe0, 0xe0, 0xe0));
@@ -254,7 +254,7 @@ void WTScale::pdraw(QPainter& p, const QRect& r)
int b = MusEGlobal::song->tick2samples(stick);
int tpix = rmapx(a - b);
if (tpix < 64) {
- // don´t show beats if measure is this small
+ // don�t show beats if measure is this small
int n = 1;
if (tpix < 32)
n = 2;