summaryrefslogtreecommitdiff
path: root/muse2/muse/song.h
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-05-08 21:20:35 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-05-08 21:20:35 +0000
commitc00e79dd68a68ab0ec30034612d3c8826107b8db (patch)
treeca92cbea4eacdf26eb8ac799075b3be7381467cc /muse2/muse/song.h
parent27cc37410cf3d0994f105fbadf135e6a43a440eb (diff)
structure menu fixes
Diffstat (limited to 'muse2/muse/song.h')
-rw-r--r--muse2/muse/song.h4
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);