summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-05-08 13:06:49 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2021-05-08 13:40:24 +0200
commitdc645ce8c672af8d8166c27ff581ae44994faf6d (patch)
tree1449363840c385066ca914f5e36c3023d69b3997 /profile-widget/profilewidget2.cpp
parenta7002f4089e76efc0667d22fc10f44ada35ec1bd (diff)
downloadsubsurface-dc645ce8c672af8d8166c27ff581ae44994faf6d.tar.gz
profile: rename GF_LINE color to DURATION_LINE
The color was misnamed, since it has only been used for the duration line for quite some time (since 893bea700c98 to be exact). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp2
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());