|
From: Tapio V. <aa...@us...> - 2011-04-03 18:42:26
|
Author: Tapio Vierros <tap...@gm...>
Date: Sun Apr 3 21:41:22 2011 +0300
Insert a space to each lyric imported from plain text.
---
notegraphwidget.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index 919c9e4..ad4d4ea 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -73,7 +73,7 @@ void NoteGraphWidget::setLyrics(QString lyrics)
QString word;
ts2 >> word;
if (!word.isEmpty()) {
- Note note(word); note.end = NoteLabel::default_length; note.note = 24;
+ Note note(word + " "); note.end = NoteLabel::default_length; note.note = 24;
if (sentenceStart) note.lineBreak = true;
doOperation(opFromNote(note, m_notes.size(), !firstNote), Operation::NO_UPDATE);
firstNote = false;
|