+1 experiment

This commit is contained in:
YuSanka 2018-07-30 13:19:31 +02:00
parent 460021f7d0
commit 085ae68e6d

View File

@ -692,21 +692,21 @@ MyMusicTreeModel::MyMusicTreeModel()
m_root = new MyMusicTreeModelNode(NULL, "My Music"); m_root = new MyMusicTreeModelNode(NULL, "My Music");
// setup pop music // setup pop music
m_pop = new MyMusicTreeModelNode(m_root, "Pop music"); // m_pop = new MyMusicTreeModelNode(m_root, "Pop music");
m_pop->Append( // m_pop->Append(
new MyMusicTreeModelNode(m_pop, "You are not alone", "Michael Jackson", 1995)); // new MyMusicTreeModelNode(m_pop, "You are not alone", "Michael Jackson", 1995));
m_pop->Append( // m_pop->Append(
new MyMusicTreeModelNode(m_pop, "Take a bow", "Madonna", 1994)); // new MyMusicTreeModelNode(m_pop, "Take a bow", "Madonna", 1994));
m_root->Append(m_pop); // m_root->Append(m_pop);
//
// setup classical music // // setup classical music
m_classical = new MyMusicTreeModelNode(m_root, "Classical music"); // m_classical = new MyMusicTreeModelNode(m_root, "Classical music");
m_ninth = new MyMusicTreeModelNode(m_classical, "Ninth symphony", // m_ninth = new MyMusicTreeModelNode(m_classical, "Ninth symphony",
"Ludwig van Beethoven", 1824); // "Ludwig van Beethoven", 1824);
m_classical->Append(m_ninth); // m_classical->Append(m_ninth);
m_classical->Append(new MyMusicTreeModelNode(m_classical, "German Requiem", // m_classical->Append(new MyMusicTreeModelNode(m_classical, "German Requiem",
"Johannes Brahms", 1868)); // "Johannes Brahms", 1868));
m_root->Append(m_classical); // m_root->Append(m_classical);
m_classicalMusicIsKnownToControl = false; m_classicalMusicIsKnownToControl = false;
} }