|
From: Tapio V. <aa...@us...> - 2011-01-19 13:17:39
|
Module: editor
Branch: master
Commit: 8c1304798c090dd4d765eb94acb64cdf18d90668
Author: Tapio Vierros <tap...@gm...>
Date: Wed Jan 19 15:16:19 2011 +0200
Notes imported from US TXT are set to non-floating.
---
notegraphwidget.cc | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index 32e6cb5..5636842 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -79,14 +79,12 @@ void NoteGraphWidget::setLyrics(const VocalTrack &track)
setFixedSize(s2px(track.endTime), h());
- bool first = true;
const Notes ¬es = track.notes;
for (Notes::const_iterator it = notes.begin(); it != notes.end(); ++it) {
if (it->type == Note::NORMAL || it->type == Note::GOLDEN || it->type == Note::FREESTYLE) {
m_notes.push_back(new NoteLabel(*it, this, QPoint(s2px(it->begin), n2px(it->note)),
- QSize(s2px(it->length()), 0), !first));
+ QSize(s2px(it->length()), 0), false));
doOperation(opFromNote(*m_notes.back(), m_notes.size()-1), Operation::NO_EXEC);
- first = false;
}
}
|