|
From: Tapio V. <aa...@us...> - 2011-02-07 19:02:10
|
Module: editor
Branch: master
Commit: caff86a0d2014229ba300a3cfd6258006bf2cac3
Author: Tapio Vierros <tap...@gm...>
Date: Mon Feb 7 20:48:53 2011 +0200
Remove initial lyrics.
---
editorapp.cc | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/editorapp.cc b/editorapp.cc
index 46c0fbf..7e9a36d 100644
--- a/editorapp.cc
+++ b/editorapp.cc
@@ -65,17 +65,7 @@ EditorApp::EditorApp(QWidget *parent): QMainWindow(parent), gettingStarted(), pr
// NoteGraph setup down here so that the objects we setup signals are already created
setupNoteGraph();
-
- show(); // Needed in order to get real values from width()
-
- // We must set the initial lyrics here, because constructor doesn't have
- // signals yet ready, which leads to empty undo stack (and thus b0rked saving)
- noteGraph->setLyrics(tr("Please add music file and lyrics text."));
- noteGraph->doOperation(Operation("BLOCK")); // Lock the undo stack
- noteGraph->updateNotes();
updateNoteInfo(NULL);
- // Scroll to middle to show the initial lyrics
- ui.noteGraphScroller->ensureVisible(0, noteGraph->height()/2, 0, ui.noteGraphScroller->height()/2);
song.reset(new Song);
|