diff options
author | Florian Jung <flo@windfisch.org> | 2011-05-11 16:41:11 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-05-11 16:41:11 +0000 |
commit | 1c431bd67567104ba9e026ae75ba479f56d387a2 (patch) | |
tree | 953f7f708eefd8fbac23937a987ad2cce667dd19 /muse2/muse/song.h | |
parent | 56b1d339a4176c07d4d995bd8912f1eccddc5539 (diff) | |
parent | 4f2e54561260eb8382953d5723d5d111353a22c9 (diff) |
some housekeeping:
- merged with trunk
- removed note to myself
- some code-cleanups
Diffstat (limited to 'muse2/muse/song.h')
-rw-r--r-- | muse2/muse/song.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/song.h b/muse2/muse/song.h index b097a5ee..e1378480 100644 --- a/muse2/muse/song.h +++ b/muse2/muse/song.h @@ -139,6 +139,7 @@ class Song : public QObject { void readMarker(Xml&); QString songInfoStr; // contains user supplied song information, stored in song file. + bool showSongInfo; QStringList deliveredScriptNames; QStringList userScriptNames; @@ -167,7 +168,8 @@ class Song : public QObject { const QFont& font) const; QFont readFont(Xml& xml, const char* name); QString getSongInfo() { return songInfoStr; } - void setSongInfo(QString info) { songInfoStr = info; } + void setSongInfo(QString info, bool show) { songInfoStr = info; showSongInfo = show; } + bool showSongInfoOnStartup() { return showSongInfo; } // If clear_all is false, it will not touch things like midi ports. void clear(bool signal, bool clear_all = true); |