summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-09-07 00:38:35 +0000
committerTim E. Real <termtech@rogers.com>2012-09-07 00:38:35 +0000
commit3b57e61b68d727a5300722015cfde332b5bd5cdf (patch)
tree8b986e6e10c7de0be59d790a87747e9062da4251 /muse2/muse/arranger/pcanvas.cpp
parentf54d0539f6fd26f9b326ddb6761e0a6c296ca6dc (diff)
Bug 3555581: No synths listed in Edit menu: main.cpp: Move initMidiSynth() ahead
of MusE. And unrelated simple change: Privatize Arranger::parentWin.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 5e754e25..20c06660 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -676,18 +676,18 @@ QMenu* PartCanvas::genItemPopup(CItem* item)
partPopup->addSeparator();
switch(trackType) {
case MusECore::Track::MIDI: {
- partPopup->addAction(MusEGlobal::muse->arranger()->parentWin->startPianoEditAction);
- partPopup->addMenu(MusEGlobal::muse->arranger()->parentWin->scoreSubmenu);
- partPopup->addAction(MusEGlobal::muse->arranger()->parentWin->startScoreEditAction);
- partPopup->addAction(MusEGlobal::muse->arranger()->parentWin->startListEditAction);
+ partPopup->addAction(MusEGlobal::muse->arranger()->parentWin()->startPianoEditAction);
+ partPopup->addMenu(MusEGlobal::muse->arranger()->parentWin()->scoreSubmenu);
+ partPopup->addAction(MusEGlobal::muse->arranger()->parentWin()->startScoreEditAction);
+ partPopup->addAction(MusEGlobal::muse->arranger()->parentWin()->startListEditAction);
QAction *act_mexport = partPopup->addAction(tr("save part to disk"));
act_mexport->setData(16);
}
break;
case MusECore::Track::NEW_DRUM:
case MusECore::Track::DRUM: {
- partPopup->addAction(MusEGlobal::muse->arranger()->parentWin->startDrumEditAction);
- partPopup->addAction(MusEGlobal::muse->arranger()->parentWin->startListEditAction);
+ partPopup->addAction(MusEGlobal::muse->arranger()->parentWin()->startDrumEditAction);
+ partPopup->addAction(MusEGlobal::muse->arranger()->parentWin()->startListEditAction);
QAction *act_dexport = partPopup->addAction(tr("save part to disk"));
act_dexport->setData(16);
}