fix drawing of tremolo

This commit is contained in:
Werner Schweer 2012-09-19 17:07:57 +02:00
parent c6b2e09ddc
commit 74e3fa6ec7
2 changed files with 2 additions and 1 deletions

View file

@ -552,7 +552,7 @@ class Score : public QObject {
void colorItem(Element*);
QList<Part*>& parts() { return _parts; }
const QList<Part*>& parts() const { return _parts; }
Part* part(int n) const { return _parts[n]; }
Part* part(int n) const { return _parts[n]; }
void appendPart(Part* p);
void updateStaffIndex();
void sortStaves(QList<int>& dst);

View file

@ -40,6 +40,7 @@ Tremolo::Tremolo(Score* score)
void Tremolo::draw(QPainter* painter) const
{
painter->setBrush(QBrush(curColor()));
painter->setPen(Qt::NoPen);
painter->drawPath(path);
if ((parent() == 0) && !twoNotes()) {
qreal x = 0.0; // bbox().width() * .25;