|
From: Lasse Kärkkäi. <tr...@us...> - 2011-01-18 15:45:12
|
Module: editor
Branch: master
Commit: f68120c8ee79edbd536354845702b559b5f13622
Author: Lasse Karkkainen <tro...@tr...>
Date: Tue Jan 18 16:44:57 2011 +0100
Use middle C as note default position
---
notegraphwidget.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index 6c909b1..62080b6 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -81,7 +81,7 @@ void NoteGraphWidget::setLyrics(QString lyrics)
QString word;
ts >> word;
if (!word.isEmpty()) {
- m_notes.push_back(new NoteLabel(Note(word.toStdString()), this, QPoint(0, m_pitch.note2px(6)), QSize(), !first));
+ m_notes.push_back(new NoteLabel(Note(word.toStdString()), this, QPoint(0, m_pitch.note2px(24)), QSize(), !first));
doOperation(opFromNote(*m_notes.back(), m_notes.size()-1), Operation::NO_EXEC);
first = false;
}
|