summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-30 09:37:30 +0000
committerTim E. Real <termtech@rogers.com>2010-12-30 09:37:30 +0000
commit7db552d8e41a4ac876802b3d4ac7d8a6e0dd2ed5 (patch)
tree14d9d7b422e03d0ce273c6e2eb6cd237d70a8950 /muse2/muse/arranger/pcanvas.cpp
parentc1aa86340d78c3a344fdee98c7038cb8ddb461cf (diff)
Please see ChangeLog.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 984d6eaa..ae0392d8 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -35,6 +35,8 @@
#include "filedialog.h"
#include "marker/marker.h"
+// Moved into global config by Tim.
+/*
const char* partColorNames[] = {
"Default",
"Refrain",
@@ -54,6 +56,8 @@ const char* partColorNames[] = {
"Piano",
"Saxophon",
};
+*/
+
/*
//---------------------------------------------------------
// ColorListItem
@@ -749,7 +753,7 @@ QMenu* PartCanvas::genItemPopup(CItem* item)
for (int i = 0; i < NUM_PARTCOLORS; ++i) {
//ColorListItem* item = new ColorListItem(config.partColors[i], h, fontMetrics().height(), partColorNames[i]); //ddskrjo
- QAction *act_color = colorPopup->addAction(colorRect(config.partColors[i], 80, 80), partColorNames[i]);
+ QAction *act_color = colorPopup->addAction(colorRect(config.partColors[i], 80, 80), config.partColorNames[i]);
act_color->setData(20+i);
}