summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-24 16:21:54 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-24 16:21:54 +0000
commit9c9671d3220561d4094b47b3c0eba20c42c17d08 (patch)
treec7c455d7fa7ce2deb61298eac20da2886e52f3e1 /muse2
parentbbd239959dd26ee023fb256e6178365186194869 (diff)
made "clef" column consume less space
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/arranger/tlist.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp
index 2dd19b4d..fbd763d8 100644
--- a/muse2/muse/arranger/tlist.cpp
+++ b/muse2/muse/arranger/tlist.cpp
@@ -360,13 +360,13 @@ void TList::paint(const QRect& r)
break;
case COL_CLEF:
if (track->isMidiTrack()) {
- QString s = "no clef";
+ QString s = tr("no clef");
if (((MidiTrack*)track)->getClef() == ScoreEdit::trebleClef)
- s="Treble Clef";
+ s=tr("Treble");
else if (((MidiTrack*)track)->getClef() == ScoreEdit::bassClef)
- s="Bass Clef";
+ s=tr("Bass");
else if (((MidiTrack*)track)->getClef() == ScoreEdit::grandStaff)
- s="Grand Staff";
+ s=tr("Grand");
p.drawText(r, Qt::AlignVCenter|Qt::AlignLeft, s);
}
break;
@@ -1073,9 +1073,9 @@ void TList::mousePressEvent(QMouseEvent* ev)
case COL_CLEF:
if (t->isMidiTrack()) {
QMenu* p = new QMenu;
- p->addAction("Treble clef")->setData(0);
- p->addAction("Bass clef")->setData(1);
- p->addAction("Grand Staff")->setData(2);
+ p->addAction(tr("Treble clef"))->setData(0);
+ p->addAction(tr("Bass clef"))->setData(1);
+ p->addAction(tr("Grand Staff"))->setData(2);
// Show the menu
QAction* act = p->exec(ev->globalPos(), 0);