summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-14 01:11:01 +0000
committerTim E. Real <termtech@rogers.com>2010-12-14 01:11:01 +0000
commit522ca271bfb851789aa437a5b88f980cb96916b2 (patch)
treeb418f5dff1bdac80694f660ad81389e3f0853881 /muse2/muse/arranger/pcanvas.cpp
parent466a93203ef2cccbf91316e28661aaa29f8a506e (diff)
Please see ChangeLog.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index d67eaf99..1e7e323a 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -750,8 +750,8 @@ QMenu* PartCanvas::genItemPopup(CItem* item)
partPopup->addSeparator();
QAction *act_rename = partPopup->addAction(tr("rename"));
act_rename->setData(0);
- QMenu* colorPopup = new QMenu(tr("color"));
- partPopup->addMenu(colorPopup);
+
+ QMenu* colorPopup = partPopup->addMenu(tr("color"));
// part color selection
//const QFontMetrics& fm = colorPopup->fontMetrics();