diff options
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 2e50b5d08..af2a33745 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1910,7 +1910,7 @@ void ProfileWidget2::updateDurationLine(PictureEntry &e) double durationLineWidth = unscaledDurationLineWidth / scale; double durationLinePenWidth = unscaledDurationLinePenWidth / scale; e.durationLine.reset(new QGraphicsRectItem(begin, y - durationLineWidth - durationLinePenWidth, end - begin, durationLineWidth)); - e.durationLine->setPen(QPen(getColor(GF_LINE, isGrayscale), durationLinePenWidth)); + e.durationLine->setPen(QPen(getColor(DURATION_LINE, isGrayscale), durationLinePenWidth)); e.durationLine->setBrush(getColor(::BACKGROUND, isGrayscale)); e.durationLine->setVisible(prefs.show_pictures_in_profile); scene()->addItem(e.durationLine.get()); |